Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Ignore watching dot files in dist/ directory #240

Merged
merged 2 commits into from
Aug 24, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/slate-tools/src/tasks/watchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ gulp.task('watch:src', [
gulp.task('watch:dist', () => {
const watcher = chokidar.watch(['./', '!config.yml'], {
cwd: config.dist.root,
ignored: /(^|[/\\])\../,
ignoreInitial: true,
});

Expand Down