grunt-contrib-watch causing Maximum call stack size exceeded

和自甴很熟 提交于 2019-12-06 04:14:43

The files property takes an Array of file pattern strings. You've supplied an object it doesn't know how to interpret.

Change this:

files: [
  src: 'client/assets/strings/en/str.coffee'
]

To this:

files: [
  'client/assets/strings/en/str.coffee'
]

I finally figured out a similar problem I was having with spell. I was using

grunt.registerTask('spell', [ 'spell']); The trick was that Grunt doesn't seem to like the repetition in names. When I switch to

grunt.registerTask('spellCheck', [ 'spell']); Everything worked as it should.

may this help you

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!