Skip to content

Commit

Permalink
chore: update to chokidar 4.0.3 (#13381)
Browse files Browse the repository at this point in the history
  • Loading branch information
rChaoz authored Jan 25, 2025
1 parent 01f001b commit ced7db1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/neat-mirrors-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sveltejs/package": patch
---

chore: update to chokidar 4.0.3
2 changes: 1 addition & 1 deletion packages/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"homepage": "https://svelte.dev",
"type": "module",
"dependencies": {
"chokidar": "^4.0.0",
"chokidar": "^4.0.3",
"kleur": "^4.1.5",
"sade": "^1.8.1",
"semver": "^7.5.4",
Expand Down
1 change: 1 addition & 0 deletions packages/package/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export async function watch(options) {
let timeout;

const watcher = chokidar.watch(input, { ignoreInitial: true });
/** @type {Promise<void>} */
const ready = new Promise((resolve) => watcher.on('ready', resolve));

watcher.on('all', (type, filepath) => {
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ced7db1

Please sign in to comment.