css-modules / css-modules-require-hook

A require hook to compile CSS Modules in runtime
MIT License
484 stars 44 forks source link

noCache #105

Open morulus opened 7 years ago

morulus commented 7 years ago

I'm trying to use this tool with babel-plugin-css-modules-transform and gulp-watch, thus it is about the process staying alive. The problem is require caches initial file module and after file source changes, an output will be the same.

This PR solves the problem. Now you can specify option noCache and join the watching.