Skip to content

Commit

Permalink
ci: fix failing builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rootCircle committed Dec 8, 2024
1 parent ed9624c commit ff5d4b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/watcher.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable no-console */
import { watch } from 'chokidar';
import chokidar from 'chokidar';

import { runBuild } from './builder';
import copyContents from './copier';
Expand All @@ -8,7 +8,7 @@ const buildWatch = () => {
runBuild(true).catch(console.error);

// Watch directories
const watcher = watch(['public/'], {
const watcher = chokidar.watch(['public/'], {
ignored: /node_modules/,
persistent: true,
});
Expand Down
9 changes: 8 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,12 @@
"isolatedModules": true
// "checkJs": true,
},
"exclude": ["node_modules", "dist", "build", "web-ext-artifacts", "docs"]
"exclude": [
"node_modules",
"dist",
"build",
"web-ext-artifacts",
"docs",
"tools"
]
}

0 comments on commit ff5d4b1

Please sign in to comment.