browserify / watchify

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

Different behavior of watchify and browserify #314

Open sueess opened 8 years ago

sueess commented 8 years ago

Is watchify not just a wrapper of browserify?

The two listed browserifyFunction don't handle the source the same. For example the "watchified"-function finds my imports and the non "watchified" not. Why these differences?

// Method one: Without watchify
browserifyFunction = browserify(browserifyOptions);

// Method two: With watchify
var options = assign(watchify.args, browserifyOptions);
browserifyFunction = watchify(browserify(options));
sueess commented 8 years ago

Watchify ignores the options of tsify, while browserify alone does not? Any ideas?