ho cercato di eseguire l'attività orologio grugnito in node.js, ma non funziona per me (questo è quello che ho ottenuto):Grunt Non guardo lavorando
$ grunt watch
warning: Maximum call stack size exceeded Use --force to continue.
Questa è la parte della guardia compito nei Gruntfile.js:
watch: {
less: {
files: 'src/less/*.less',
tasks: ['clean', 'recess', 'copy']
},
js: {
files: 'src/js/*.js',
tasks: ['clean', 'jshint', 'concat', 'uglify', 'copy']
},
theme: {
files: 'src/theme/**',
tasks: ['clean', 'recess', 'copy']
},
images: {
files: 'src/images/*',
tasks: ['clean', 'recess', 'copy']
}
}
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('watch', ['watch']);
Penso che questo aiuterà http://stackoverflow.com/questions/17033246/grunt-uglifym-call-stack-size-exceeded –