Skip to content

Commit

Permalink
Reload server on config changes (#1216)
Browse files Browse the repository at this point in the history
* feat: When making changes to the configuration file, the development server will restart. Currently bindings is passed into the server to be refreshed.

#439

* moved all bindings related logic into the `getDevComponent` factory to prevent repeated logging and function calls.
  • Loading branch information
JacobMGEvans authored Jun 13, 2022
1 parent 9dae5af commit 4eb70f9
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 180 deletions.
7 changes: 7 additions & 0 deletions .changeset/quiet-pots-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wrangler": patch
---

feat: reload server on configuration changes, the values passed into the server during restart will be `bindings`

resolves #439
Loading

0 comments on commit 4eb70f9

Please sign in to comment.