Merge pull request #212 from loo41/master
gulp-watch 在非 ASCII characters 无法监听文件变化
This commit is contained in:
commit
00d8488c32
|
@ -3,7 +3,6 @@ let path = require('path')
|
|||
let tap = require('gulp-tap')
|
||||
let compile = require('./scripts/mp/index')
|
||||
let fs = require('fs')
|
||||
let watch = require('gulp-watch')
|
||||
let compileWxss = require('./scripts/mp/wxss')
|
||||
|
||||
gulp.task('components', ['copy'], () => {
|
||||
|
@ -200,7 +199,7 @@ gulp.task('copyThen', () => {
|
|||
})
|
||||
|
||||
gulp.task('watch', () => {
|
||||
watch('src-mp/**/*', () => {
|
||||
gulp.watch('src-mp/**/*', () => {
|
||||
gulp.start('copyThen')
|
||||
})
|
||||
})
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
"css-what": "^2.1.2",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-tap": "^1.0.1",
|
||||
"gulp-watch": "^5.0.1",
|
||||
"html2json": "^1.0.2",
|
||||
"uglify-js": "^3.4.9"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue