1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-04-21 04:52:14 +02:00

ignore node_modules for livereload

may allow perf boost
This commit is contained in:
t-fritsch 2023-08-03 22:31:07 +02:00 committed by GitHub
parent 82d63e0296
commit 2dd27b37c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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