eslint watch

This commit is contained in:
Tyler Long
2017-04-13 22:35:27 +08:00
parent 15bdaca2f9
commit d87da684a9
4 changed files with 61 additions and 10 deletions

View File

@@ -25,8 +25,7 @@ gulp.task('live-server', function () {
gulp.task('watch2', ['live-server'], function () {
return shell.task([
'watchify src/mermaid.js -s mermaid -o dist/mermaid.js',
'node node_modules/eslint-watch/bin/esw src -w'
'watchify src/mermaid.js -s mermaid -o dist/mermaid.js'
])
})