Sass filewatcher for webstorm

前端 未结 10 1026
挽巷
挽巷 2020-12-30 12:30

I am trying to use sass in a NodeJS project and this is the library I installed with nodejs

https://www.npmjs.org/package/node-sass

I am using webstorm for t

10条回答
  •  佛祖请我去吃肉
    2020-12-30 13:03

    Most definitely path to .cmd is wrong as lena and lazy one suggested. Whenever watcher unchecks in Web/Phpstorm its probably because of invalid path. If you still have trouble with node-sass you could always go Ruby way.

    1. Download and install Ruby for Win,
    2. Install Sass via command prompt with gem install sass,
    3. In Web/Phpstorm put "Program" path to sass.bat (remember node-sass.cmd?), e.g. C:\Ruby200\bin\sass.bat

提交回复
热议问题