an extension of budo dev server that supports live script injection
JavaScript HTML CSS
Latest commit 69cd0bd Nov 20, 2015 @mattdesl clean up package
Permalink
Failed to load latest commit information.
docs update docs Apr 17, 2015
example clean up package Nov 20, 2015
lib make it work with latest budo Nov 20, 2015
.gitignore bam! Feb 21, 2015
.npmignore bam! Feb 21, 2015
LICENSE.md bam! Feb 21, 2015
README.md clean up package Nov 20, 2015
cmd.js make it work with latest budo Nov 20, 2015
package.json clean up package Nov 20, 2015

README.md

budō-chrome

experimental

screenshot

(click for demo)

A browserify dev server on top of budō, providing live script injection for Chrome. On filesave, this can make updates to animations and graphics without destroying application state.

Under the hood, this uses v8 LiveEdit through Chrome's Remote Debugging protocol. The technology is still experimental, and may not be suitable yet for widespread production use.

# install the tool
npm install -g budo-chrome

# now run our dev server
budo-chrome index.js --open

💡 You may need to quit all running instances of Chrome before continuing.

This should open Chrome with the remote debugger attached. Changing index.js will incrementally update a bundle.js file and inject the new source into Chrome.

Props to @caspervonb for the early groundwork.

about

See the docs for information on how to get set up. See the demo and its source code for an example of how it looks in practice.

Usage

NPM

Usage:
    budo-chrome [entries] [opts]

Options:
    --open          open a new instance of Chrome
    --remote-port   remote debugging port, default 9222

The other options are passed along to budō and browserify/watchify.

License

MIT, see LICENSE.md for details.