File watcher: “An output directory must be specified when compiling a directory”
问题 cmd.exe /D /C call C:\Users\sebas\AppData\Roaming\npm\node-sass.cmd style.scss:style.css An output directory must be specified when compiling a directory The scss file I want the file watcher to watch is placed at the root of my project. Watch the error appear: gif_link How do I fix this error? 回答1: If you like the .css files to be generated in the same folder as original file, try the following settings: Note the Create output file from stdout option - it has to be enabled, as node-sass