Skip to content

Commit 8329406

Browse files
fix: correct file watcher to ignore saved.md files instead of saved.json (#69)
Fixes #68
1 parent 5ffed5e commit 8329406

File tree

1 file changed

+1
-1
lines changed
  • packages/docs-builder/bin

1 file changed

+1
-1
lines changed

packages/docs-builder/bin/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function watch() {
124124
const filesToWatch = [glob(projectsDir)]
125125
const watcher = chokidar.watch(filesToWatch, {
126126
ignoreInitial: true,
127-
ignored: [/en\/docs\.po/, /saved\.json/, /timestamp/, /public/],
127+
ignored: [/en\/docs\.po/, /saved\.md/, /timestamp/, /public/],
128128
// XXX: Include a delay, otherwise on macOS we sometimes get multiple
129129
// change events when a file is saved just once
130130
awaitWriteFinish: {

0 commit comments

Comments
 (0)