Question

I am using the following JSHint Grunt task, which is passing okay:

jshint: {
            options: {
                ignores: ['js/characters/**/*.js','js/libs/**/*.js','js/text.js','js/video.js'],
                predef: ['define', 'require'],
                reporter: require('jshint-stylish'),

                curly: true,
                eqnull: true,
                eqeqeq: true,
                undef: false,




            },
            all: ['js/**/*.js'],



        }

I am trying to configure it to work within a watch task:

watch: {

            scripts: {
               files: ['<%= jshint.all %>'],
             ignores: ['js/characters/**/*.js','js/libs/**/*.js','js/text.js','js/video.js'],
               tasks: ['jshint']
           },
            css: {
                files: ['**/*.sass'],
                tasks: ['compass'],
                options: {
                    livereload: true,
                }
            }
        }

but every time I change a JS file, the watch exits with Bus error: 10

Was it helpful?

Solution

Upgrading to Node 0.10.22 fixed this issue.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top