Note that budo needs a copy of
watchify installed. It can be either local (preferred) or global.
npm install budo watchify -g
Simple use, which builds to
bundle.js on filesave:
#run watchify on port 9966budo index.js --outfile bundle.js --verbose
localhost:9966 to see the content in action.
budo index.js -o bundle.js | garnish
See docs for more features including Chrome script injection.
This is still highly experimental, and so far only tested on OSX. PRs/suggestions/comments welcome. Props to @caspervonb for the early groundwork.
budo command-line interface. Aside from the following options, all others are sent to browserify/watchify.
Usage:budo [entries] [opts]Options:--outfile, -o path to output bundle--port the port to run, default 9966--live enable LiveReload integration
Installing budo also comes with a
budo-chrome binary for script injection. It is still experimental.
Usage:budo-chrome [entries] [opts]Options:--outfile, -o path to output bundle--open open a new instance of Chrome--port port to serve content, default 9966--remote-port remote debugging port, default 9222
MIT, see LICENSE.md for details.