watchify icon indicating copy to clipboard operation
watchify copied to clipboard

Different behavior of watchify and browserify

Open sueess opened this issue 9 years ago • 1 comments
trafficstars

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 avatar Mar 22 '16 13:03 sueess

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

sueess avatar Apr 08 '16 10:04 sueess