-
Notifications
You must be signed in to change notification settings - Fork 334
[dev] watch code and re-build/upload on changes #876
Comments
+1 for this. Testing out the |
The usage I proposed for this might be a bit problematic given our existing choice for With I think the way forward is to change preview's watch flag to optionally accept a value and default to false, meaning Would love some input on this. |
Ideally, I think we would make the same changes to If changing Not sure I see the rationale behind |
That makes sense - as for the |
fwiw i think more folks will use dev, and that they will expect it to always watch regardless of the design of preview. i would put out the challenge to try and articulate the distinct use cases for preview vs dev, i.e. when would i prefer one over the other? |
@ashleymichal ideally you shouldn't have to use preview, but it can be helpful for things like the network tab that haven't been implemented in the dev server. my goal is to fix this shortcoming with #946 and then strongly encourage people to only ever use I definitely want to default watch to true for wrangler dev, this question is mostly about consistency with preview |
Provide
--watch
flag and make its default "true"The text was updated successfully, but these errors were encountered: