Skip to content

Commit

Permalink
Merge pull request #976 from paldepind/master
Browse files Browse the repository at this point in the history
Use different use of watchify in recipe
  • Loading branch information
contra committed Mar 22, 2015
2 parents 2455eb9 + 79530d3 commit 614b69c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/recipes/fast-browserify-builds-with-watchify.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ var buffer = require('vinyl-buffer');
var watchify = require('watchify');
var browserify = require('browserify');

var bundler = watchify(browserify('./src/index.js', watchify.args));
var bundler = watchify(browserify(watchify.args));
// add the file to bundle
bundler.add('.src/index.js');
// add any other browserify options or transforms here
bundler.transform('brfs');

Expand Down

0 comments on commit 614b69c

Please sign in to comment.