Answer the question
In order to leave comments, you need to log in
How to setup file watcher in WebStorm for Stylus (windows OS)?
I couldn't properly connect the compilation of stylus files to css in WebStorm using file watcher .
The manual says that for Windows you need to connect stylus.bat , but there is no such file anywhere ((There is just a stylus file , but, of course, WebStorm swears at it.
As a result, I did it using node.exe and self-made .cmd
But I want to figure it out how to do it right and beautiful. @"%~dp0bin\node.exe" "%~dp0bin\stylus" %*
Answer the question
In order to leave comments, you need to log in
Just put the stylus globally
and stylus.cmd will be created in the node.js folder, it will be available in the console
with this code
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\node_modules\stylus\bin\stylus" %*
) ELSE (
node "%~dp0\node_modules\stylus\bin\stylus" %*
)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question