RT sass文件没用 compass watch 进行编译 使用的gulp-compass,在gulpfile.js里配置编译的。
gulp.task('browser-sync', function() { browserSync({ files: ['./css'], // sass编译输出目录 server: { baseDir: "./" } }); });
问题就是每次修改了scss文件,gulp-compass也编译输出了,但页面没加载进来更新后的css