Skip to content

Commit

Permalink
Avoid auto-reload on folder deletion/creation
Browse files Browse the repository at this point in the history
and fix `tests` folder name
  • Loading branch information
1j01 committed Jul 1, 2024
1 parent c0ece45 commit 9687881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"test-codegen:codegen": "npx playwright codegen http://localhost:1998",
"lint": "cspell-cli lint .",
"start": "run-p watch-fs-index start-server",
"start-server": "live-server --port=1998 --ignore=node_modules/,.git/,.history/,.idea/,.vscode/,test/,coverage/,test-results/,playwright-report/,blob-report/,playwright/.cache/,package.json,package-lock.json,README.md,LICENSE,CNAME,cspell.json,.gitignore,.gitattributes .",
"start-server": "live-server --port=1998 --ignore=node_modules/,.git/,.history/,.idea/,.vscode/,tests/,coverage,coverage/,test-results,test-results/,playwright-report,playwright-report/,blob-report,blob-report/,playwright/.cache,,playwright/.cache/,package.json,package-lock.json,README.md,LICENSE,CNAME,cspell.json,.gitignore,.gitattributes .",
"watch-fs-index": "onchange --initial --poll 1000 --kill -f add -f addDir -f unlink -f unlinkDir '**' --exclude 'filesystem-index.json' --exclude '**/.history/**' -- npm run make-fs-index",
"watch-fs-index @NOTE 1": "--kill makes it not queue up the events as tasks (as well as sending kill signal to old process)",
"watch-fs-index @NOTE 2": "When many files are changed, such as when doing a rebase or otherwise checking out old commits, it can take a long time to start working again. Add --verbose to view the stupid behavior. It probably makes it slower too, logging a lot.",
Expand Down

0 comments on commit 9687881

Please sign in to comment.