Skip to content

Commit 77aa9a2

Browse files
committedSep 25, 2024·
chore: update chokidar to v4
1 parent c2cc1e9 commit 77aa9a2

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"test:types": "tsc --noEmit"
3737
},
3838
"dependencies": {
39-
"chokidar": "^3.6.0",
39+
"chokidar": "^4.0.1",
4040
"confbox": "^0.1.7",
4141
"defu": "^6.1.4",
4242
"dotenv": "^16.4.5",

‎pnpm-lock.yaml

+16-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/watch.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { WatchOptions } from "chokidar";
1+
import type { ChokidarOptions } from "chokidar";
22
import { debounce } from "perfect-debounce";
33
import { resolve } from "pathe";
44
import { diff } from "ohash";
@@ -22,7 +22,7 @@ export interface WatchConfigOptions<
2222
T extends UserInputConfig = UserInputConfig,
2323
MT extends ConfigLayerMeta = ConfigLayerMeta,
2424
> extends LoadConfigOptions<T, MT> {
25-
chokidarOptions?: WatchOptions;
25+
chokidarOptions?: ChokidarOptions;
2626
debounce?: false | number;
2727

2828
onWatch?: (event: {

0 commit comments

Comments
 (0)
Please sign in to comment.