E
E
Evgeny Kornachev2018-05-16 12:37:58
JavaScript
Evgeny Kornachev, 2018-05-16 12:37:58

electron. Style changes are not applied when editing imported *.sass files. Where to dig?

We have:
- WebStorm 2017.2
- the simplest application on Electron (1.8.4), literally out of the box.
- index.html with style.scss included
- menu.scss is imported into style.scss
- scss is used as is (without modules to build it)
- run via npm start electron .
When you start the application, both in normal mode and in the debugger, the electron picks up the styles without any problems. But, if you fix the menu.scss file and restart the electron, then the changes will not be accepted. However, if you also make changes to the head file style.scss, then the styles will be completely updated.
Restarting WebStorm (with clearing the cache) doesn't help. I did not find anything similar in the search engines.
So far, I decided by building the web part using gulp (gulp-sass), but I would like to do without it.
The whole js framework is new to me. Where to look?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
boga-net, 2018-05-16
@boga-net

I can only recommend Koala for compiling SASS - simple and reliable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question