Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

datapimp/code_sync

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

182 Commits
182 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeSync is a utility which live reloads asset pipeline assets in their running browser sessions, and an in-browser IDE which allows you to edit your pre-compiled assets (coffeescript, sass, etc) in the browser and save them to disk.

Using with Rails

# config/initializers/code_sync.rb
if Rails.env.development?
  CodeSync::Manager.start(forked: true, sprockets: Rails.application.assets )
end
# Gemfile
gem 'code_sync', git: "git@github.com:datapimp/code_sync.git"
# asset manifest
#= require 'code_sync'
#= require_self

window.codeSyncClient = new CodeSync.Client()

Now when you change assets in the asset pipeline, they will be applied to the browser without refreshing.

About

Live reload and code editing tools for the asset pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.