Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Use webpack --watch for live reload #1219

Closed
EverlastingBugstopper opened this issue Apr 21, 2020 · 1 comment
Closed

Use webpack --watch for live reload #1219

EverlastingBugstopper opened this issue Apr 21, 2020 · 1 comment
Labels
Milestone

Comments

@EverlastingBugstopper
Copy link
Contributor

Instead of using notify to tell webpack to build a script from scratch, we should instead watch the output of webpack, and shell out to webpack --watch. Then, when a new build is complete, wrangler should reupload the Worker. This can already be achieved by an end user using the javascript type and watching with webpack --watch

@EverlastingBugstopper
Copy link
Contributor Author

i'm pretty sure this already happens, we just weren't taking advantage of it. closed by #1269 (i think)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant