A
A
Andrey Frantsev2017-05-15 00:44:17
css
Andrey Frantsev, 2017-05-15 00:44:17

How to make Webstorm not compile imported Stylus files?

Good afternoon, colleagues!
There is a project on the Stylus:
01af7e9d9da64d248261e3b541163d99.png
Working files are in "src". The project file is "gate2-new.styl", the rest of the files from the two folders are imported into it via @import.
020eb72bec2a4d59b8e1392d6060840b.png
And for some reason all these included files are also compiled into output.
How to make file watcher generate only the main file, no includes?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
tema_sun, 2017-05-15
@tema_sun

Paycharm has a checkbox "Track only root files" in the watcher's settings, in webstorm I think it should also be like that.

A
Andrey Frantsev, 2017-05-15
@Andy_Francev

Everything seems to have worked. I had to fix the main file like this:
For some reason, it didn't compile normally with asterisks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question