browserify / watchify

watch mode for browserify builds
Other
1.79k stars 181 forks source link

"-o" can be a shell command #175

Closed zertosh closed 9 years ago

zertosh commented 9 years ago

Fixes https://github.com/substack/watchify/issues/16. By using outpipe, we can now do this:

watchify main.js -o 'exorcist static/bundle.js.map > static/bundle.js' -d
watchify main.js -o 'uglifyjs -cm > static/bundle.min.js'