caleb / broccoli-fast-browserify

A caching, flexible Browserify Broccoli filter
https://github.com/caleb/broccoli-fast-browserify
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Recompiles are not triggered when dependencies change if no entryPoint #22

Open elldritch opened 8 years ago

elldritch commented 8 years ago

If I don't manually specify my bundles using the { bundles: { 'output.js': {entryPoints: ['entry-point.js']}}} options syntax and instead opt for the {bundleExtension: '.bundle', outputExtension: '.es5'} options syntax, then recompiles will not be triggered when my dependencies change. A simple example:

With a.js and b.js where:

// a.js
console.log(require('./b'));
// b.js
module.exports = 'foo';

If I change b.js to module.exports = 'bar'; then a.js will not recompile to reflect this change.