Sha256: 31c439da89aafebcfee1f82072273e3793f275c5756b7a5bf14330efaf77f9fa

Contents?: true

Size: 565 Bytes

Versions: 1

Compression:

Stored size: 565 Bytes

Contents

The `CodeSync.Client` sits on top of a websocket connection, and listens for change notifications detected by the `CodeSync::Manager` component that runs on your local development environment.

Whenever a change to an asset pipeline asset is detected, the asset is compiled, and a notification is sent to the client, which then applies the updated assets to the running browser session.

```haml
html
  head
    = stylesheet_link_tag 'code_sync'
  body
    = javascript_include_tag 'code_sync'
    :javascript
      window.codeSyncClient = new CodeSync.Client()
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code_sync-0.6.7 site/source/samples/_client.html.md