Skip to content

Commit

Permalink
fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Dec 15, 2024
1 parent 437d5b9 commit 381d627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions special-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"test.headed": "npm run test-int -- --headed",
"test.ui": "npm run test-int -- --ui",
"serve": "http-server -c-1 --port 3210 ../build/integration/pages",
"watch": "node watch.mjs",
"preserve": "npm run build.dev"
"watch": "node watch.mjs"
},
"license": "ISC",
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion special-pages/shared/live-reload.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ $WATCH: (() => {

const es = new EventSource('/esbuild');
es.addEventListener('change', (e) => {
// @ts-expect-error - this file might not exist
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - this will always be present in watch mode
// eslint-disable-next-line promise/prefer-await-to-then
import('../timestamp.json').then((x) => {
// noop to force reload
Expand Down

0 comments on commit 381d627

Please sign in to comment.