gulp-bro icon indicating copy to clipboard operation
gulp-bro copied to clipboard

Cache is not properly working

Open ceremcem opened this issue 3 years ago • 1 comments

I have a foo.js with the following content:

require('bar.js')
require('foo.pug')

bar.js is:

require('bar.pug')

I'm using the following configuration along with a custom transform. Touching foo.js causes both foo.pug and bar.pug to compile.

However, in this configuration of browserify does not trigger bar.pug compilation when foo.js is touched.

I think they both works wrong because either of them should never trigger .pug file compilation when I touched a .js file.

Sorry for not providing a full, bare reproduction code but I thought you can guess what happens.

ceremcem avatar Jul 30 '20 10:07 ceremcem

Hey @ceremcem,

Sorry for the very late answer 🙏 Unfortunately, I'm not actively maintaining this repo anymore, so my knowledge around the Gulp toolchain is a bit atrophied currently.

gulp-bro is mostly syntactic sugar on top of browserify and browserify-incremental, so my hunch is that your issue might be related to one of these 2 dependencies.

ngryman avatar Oct 14 '20 16:10 ngryman