Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Edit a .less file do not take effect #43

Open
pioz opened this issue Jul 19, 2017 · 1 comment
Open

Edit a .less file do not take effect #43

pioz opened this issue Jul 19, 2017 · 1 comment

Comments

@pioz
Copy link

pioz commented Jul 19, 2017

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?

@pioz pioz changed the title Edit a .less file do not effect Edit a .less file do not take effect Jul 19, 2017
@eliseshaffer
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants