Closed Pleochism closed 9 years ago
I don't know what the side effects are, but this solves the issue I'm running into.
It definitely breaks grunt-browserify, sadly.
@Pleochism any idea what the underlying issue is? and why this change solves it?
I don't. I'd guess that it's related to caching of files, but I can't determine what the cache/packageCache properties are used for further up the chain. Unfortunately I won't have time to look at this again for a few days.
@Pleochism @kumavis Can you try 2.5.0
? https://github.com/substack/watchify/pull/160 should have also fixed your issue
Yep, that did the trick. Works as expected via grunt-browserify as well.
Fixes bug with JSON requires from JS files not being modularised cleanly.