Skip to content

Commit

Permalink
Fixed recipes for new browserify/watchify
Browse files Browse the repository at this point in the history
  • Loading branch information
megakote committed Jul 27, 2014
1 parent 1bf9abc commit e74b89b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/recipes/fast-browserify-builds-with-watchify.md
Expand Up @@ -22,7 +22,11 @@ var source = require('vinyl-source-stream');
var watchify = require('watchify');

gulp.task('watch', function() {
var bundler = watchify('./src/index.js');
var bundler = watchify(browserify('./src/index.js', {
cache: {},
packageCache: {},
fullPaths: true
}));

// Optionally, you can apply transforms
// and other configuration options on the
Expand Down

0 comments on commit e74b89b

Please sign in to comment.