diff --git a/gulpfile.js b/gulpfile.js index 9e35d9fa..ce55eb8b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -289,13 +289,13 @@ gulp.task('serve', () => { connect.server({ root: root, port: port, - host: '0.0.0.0', + host: 'localhost', livereload: true }) gulp.watch(['*.html', '*.md'], gulp.series('reload')) - gulp.watch(['js/**'], gulp.series('js', 'reload')) + gulp.watch(['js/**'], gulp.series('js', 'reload', 'eslint')) gulp.watch(['plugin/**/plugin.js'], gulp.series('plugins', 'reload'))