Sass filewatcher for webstorm

前端 未结 10 1032
挽巷
挽巷 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:17

    PHP storm version 2018.02

    I was not able to make the filewatcher generate a css.map file with the post of Günay, all the rest of the post works fine for me, so what I use:

    Installation

    Install node-sass global: npm install -g node-sass

    Settings:

    1. Program C:\Users\User\AppData\Roaming\npm\node-sass.cmd

    2. Arguments --source-map true $FileName$ $FileNameWithoutExtension$.css

    3. Output path to refresh $FileNameWithoutExtension$.css:$FileNameWithoutExtension$.css.map

    4. Working directory $FileDir$

    Hope this helps

提交回复
热议问题