![]() ![]() q, -quiet Suppress log output except on error i, -indented-syntax Treat data from stdin as sass code (versus scss) x, -omit-source-map-url Omit source map URL comment from output r, -recursive Recursively watch directories or files ![]() Node sass cli parameters -w, -watch Watch a directory or file Node sass cli usage node-sass cat | node-sass > output In my case /usr/local/bin/node-sass, in your case it will be the path to the node-sass.cmd. The program parameter needs the full path to the bin/exe though, even when it's globally available. Node-sass requires nothing more than $FileName$ $FileNameWithoutExtension$.css Tested and works in WebStorm 11 Output paths to refresh: $ProjectFileDir$/css/$FileNameWithoutExtension$.css Like: Arguments: $FileName$ -o $ProjectFileDir$/css/$FileNameWithoutExtension$.css If you like to put resultant files into a different folder, try playing with -o option. css file will be placed near the original. 'Create output from stdout' should be off Output paths to refresh: $FileNameWithoutExtension$.css The simplest setup looks as follows: Program: C:\Users\USER\AppData\Roaming\npm\node-sass.cmdĪrguments: $FileName$ $FileNameWithoutExtension$.css ![]() ![]() stdout Print the resulting CSS to stdout include-path Path to look for files [default: "C:\\Users\\USER\\AppData\\Roaming source-comments Include debug info in output (none|normal|map) output-style CSS output style (nested|expanded|compact|compressed) Usage: node C:\Users\USER\AppData\Roaming\npm\node_modules\node-sass\bin\node-sass Specified arguments won't work with node-sass - they are only suitable for standard SASS compiler.You need to specify a full path to node-sass.cmd in a Program field (as mentioned). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |