我有一个将scss代码输出到css目录的watch函数,但我不确定为什么有时这些文件会保存在另一个嵌套的css目录中,如下所示:
public/
sass/
css/
css/ // this directory shouldn't exist
style.css //saved here
style.css //and here (should only save here)
style.scss
这是我的脚本:node-sass -w src/public/sass -o src/public/sass/css