Skip to content

Commit

Permalink
Add a hint for browserify transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
grmlin committed Apr 27, 2015
1 parent bcf486f commit 439fdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/recipes/fast-browserify-builds-with-watchify.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var customOpts = {
debug: true
};
var opts = assign({}, watchify.args, customOpts);
var b = watchify(browserify(opts));
var b = watchify(browserify(opts)); // add transformations here, see https://github.com/substack/watchify/issues/187#issuecomment-89687576

gulp.task('js', bundle); // so you can run `gulp js` to build the file
b.on('update', bundle); // on any dep update, runs the bundler
Expand Down

0 comments on commit 439fdb4

Please sign in to comment.