Merge pull request #212 from loo41/master

gulp-watch 在非 ASCII characters 无法监听文件变化
This commit is contained in:
当耐特 2018-12-09 21:02:05 +08:00 committed by GitHub
commit 00d8488c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -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')
})
})

View File

@ -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"
},