ganksolo

gulp-browserify 无法监控 compass 编译 sass 后的 css 文件

  •  
  •   ganksolo · Apr 10, 2015 · 4136 views
    This topic created in 4063 days ago, the information mentioned may be changed or developed.

    RT
    sass文件没用 compass watch 进行编译
    使用的gulp-compass,在gulpfile.js里配置编译的。

    gulp.task('browser-sync', function() {
    browserSync({
    files: ['./css'], // sass编译输出目录
    server: {
    baseDir: "./"
    }
    });
    });

    问题就是每次修改了scss文件,gulp-compass也编译输出了,但页面没加载进来更新后的css

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3189 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 152ms · UTC 14:08 · PVG 22:08 · LAX 07:08 · JFK 10:08
    ♥ Do have faith in what you're doing.