Преглед изворни кода

ignore node_modules for livereload

may allow perf boost
t-fritsch пре 1 година
родитељ
комит
2dd27b37c6
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      gulpfile.js

+ 1 - 0
gulpfile.js

@@ -302,6 +302,7 @@ gulp.task('serve', () => {
     gulp.watch([
         slidesRoot + '**/*.html', 
         slidesRoot + '**/*.md',
+        `!${slidesRoot}**/node_modules/**`, // ignore node_modules
     ], gulp.series('reload'))
 
     gulp.watch(['js/**'], gulp.series('js', 'reload', 'eslint'))