Grunt观看FSEventStreamStart错误

时间:2015-09-07 22:10:32

标签: javascript gruntjs grunt-contrib-watch

我尝试运行grunt watch,我收到此错误 -

2015-09-07 18:09 grunt[5461] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)

Gruntfile看起来像这样 -

module.exports = function(grunt) {
    require('load-grunt-tasks')(grunt);

    grunt.initConfig({
        babel: {
            options: {
                sourceMap: true,
                stage: 0
            },
            files: {
                expand: true,
                src: ['scripts/**/*.es6.js'],
                ext: '.js',
                dest: 'static'
            }
        },
        watch: {
            files: ['**/*'],
            options: {
                livereload: true
            },
            babel: {
                files: ['scripts/**/*.es6.js'],
                tasks: 'babel'
            },
        }
    });
    grunt.loadNpmTasks('grunt-contrib-watch');
}

发生了什么事?

0 个答案:

没有答案