鍍金池/ 問答/HTML/ gulp.watch 一修改就報(bào)錯(cuò)

gulp.watch 一修改就報(bào)錯(cuò)

問題出現(xiàn)在 gulp.watch 的時(shí)候,一旦修改內(nèi)容,就會報(bào)錯(cuò),單獨(dú)編譯不用watch就不會報(bào)錯(cuò)。報(bào)錯(cuò)如下:
] 'build' errored after 29 ??s
[19:42:57] Error: The thunkFunction already filled

at child (E:\code\zwl-pc-h5\node_modules\thunks\index.js:151:32)
at Gulp.thunkFunction (E:\code\zwl-pc-h5\node_modules\thunks\index.js:146:14)
at module.exports (E:\code\zwl-pc-h5\node_modules\orchestrator\lib\runTask.js:34:7)
at Gulp.Orchestrator._runTask (E:\code\zwl-pc-h5\node_modules\orchestrator\index.js:273:3)
at Gulp.Orchestrator._runStep (E:\code\zwl-pc-h5\node_modules\orchestrator\index.js:214:10)
at Gulp.Orchestrator.start (E:\code\zwl-pc-h5\node_modules\orchestrator\index.js:134:8)
at Gulp.<anonymous> (E:\code\zwl-pc-h5\node_modules\gulp\index.js:36:18)
at Gaze.<anonymous> (E:\code\zwl-pc-h5\node_modules\glob-watcher\index.js:18:14)
at emitTwo (events.js:106:13)
at Gaze.emit (events.js:191:7)


回答
編輯回答
夢若殤

沒碰到過這問題,建議貼出相關(guān)代碼。

2018年3月20日 08:49