Answer the question
In order to leave comments, you need to log in
How to set up Stylus File watcher in PHPStorm?
There is a project with three or four levels of nesting of *.styl files in each other.
1. In the 7th version of PHPStorm, when compiling any child-styl file, the very first level was also compiled. After upgrading to version 8, only the modified child-style file is compiled. How to auto-configure top-level recompilation?
2. How to set up compilation so that the final *.css is created not in the folder with stylus files ( /dir/styl/ ), but in the child folder ( / dir/ ) ?
I use PHPStorm, the latest Stylus plugin, NodeJS, etc.
Screen of Stylus plugin settings:
I will send +10 to karma, the person who will help me solve my problems :)
Answer the question
In order to leave comments, you need to log in
In arguments, write everything you need $FileName$ --out $FileParentDir$/css/$FileNameWithoutExtension$.css
If it doesn't work, check if there are spaces in the path to stylus
The bottom line is needed to update the directories where the files go to see them immediately rather than close, open.
For example, putting "../" at the beginning of "Output paths to refresh" is not an option?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question