According the IntelliJ IDEA documentation, the Stylus files watcher setup is:
- In the Settings/Preferences dialog click File Watchers under Tools. The File Watchers page that opens shows the list of already configured File Watchers.
- Click the Add button or press Alt Insert and choose the Stylus predefined template from the list.
- In the Program field, specify the path to the executable file:
- stylus for macOS and Unix.
- stylus.bat for Windows.
Type the path manually or click the Browse button and choose the file location in the dialog that opens.
But there is no stylus.bat. Inside bin directory, there is the file stylus without filename extension, but this one does not work.
CodePudding user response:
A
<drive>:\Users\<user name>\AppData\Roaming\npm\stylus.cmd
should do the thing