Skip to content

Commit

Permalink
!fixup: [wrangler] fix: stop rebuild attempts when sources are missing (
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusdahlstrand authored and petebacondarwin committed Jan 31, 2024
1 parent b339e06 commit 52c3111
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .changeset/hip-files-count.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ fix: Do not show unnecessary errors during watch rebuilds

When Pages is used in conjunction with a full stack framework, the framework
build will temporarily remove files that are being watched by Pages, such as
_worker.js and _routes.json.
Previously we would display errors for these changes, which adds confusing and excessive messages to the Pages dev output. Now builds are skipped if a watched _worker.js or _routes.json is removed.
`_worker.js` and `_routes.json`.
Previously we would display errors for these changes, which adds confusing and excessive messages to the Pages dev output. Now builds are skipped if a watched `_worker.js` or `_routes.json` is removed.
6 changes: 2 additions & 4 deletions fixtures/pages-workerjs-app/workerjs-test/_routes.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"version": 1,
"description": "",
"include": [
"/*"
],
"include": ["/*"],
"exclude": []
}
}

0 comments on commit 52c3111

Please sign in to comment.