electron-prebuilt-compile
electron-prebuilt-compile copied to clipboard
Edit a .less file do not take effect
I've prepare this repo to show my problem https://github.com/pioz/electron-prebuilt-compile-issue
You can install and run with
$ git clone https://github.com/pioz/electron-prebuilt-compile-issue.git
$ cd electron-prebuilt-compile-issue
$ npm install
$ npm start
First time you run this app all works fine.
Now close the app (cmd+Q
) and edit the file stylesheets/css1.less
changing
the color from blue to red. Now rerun the app (npm start
) and the color of
Hello World! is not changed.
If I import all .less
files in index.html
separately, all is fine.
What did I do wrong? May be a bug?
This appears to be a problem with watched files. The cache doesn't properly check dependent files. I'm struggling through this for jade templates, currently.