refreshify-plus v0.0.2
refreshify-plus
refreshify: watch mode on steroids for browserify builds
refreshify-plus: refreshify + notifications for nonerroring builds + customizable notification title
Features
refreshify
- recompiles your browserify bundle as soon as a source file changes
- notifies you via native desktop notification if your build fails
refreshify-plus
- notifies you via native desktop notification every time your build completes (
-n--alwaysnotify) - allows you to customize the (nonerroring) build complete notification's title
-m 'AWWW YEAH!'or--message 'Built!'
Enable notifications for all builds with -n or --alwaysnotify.
Customize the notification title with -m 'custom title here' or --message 'YES!'.
refreshify-plus -v -n -m 'AWW YEAH!'

remainder of refreshify documentation

- live-reload built in

- server/protocol agnostic: No need to have a local dev server, even works when files are beign served from the local file system

Example
Use refreshify-plus with all the same arguments as browserify except that
-o is mandatory:
$ refreshify-plus main.js -o static/bundle.jsNow as you update files, static/bundle.js will be automatically incrementally rebuilt on
the fly.
You can use -v to get more verbose output to show when a file was written and how long the bundling took (in seconds):
$ refreshify browser.js -d -o static/bundle.js -v
610598 bytes written to static/bundle.js 0.23s
610606 bytes written to static/bundle.js 0.10s
610597 bytes written to static/bundle.js 0.14s
610606 bytes written to static/bundle.js 0.08s
610597 bytes written to static/bundle.js 0.08s
610597 bytes written to static/bundle.js 0.19sTo run the example included in this repo, run npm run example.
Install
With npm do:
$ npm install -g refreshify-plusto get the global refreshify-plus command.
License
MIT
11 years ago