Improve DX for the Netlify serverless template #3753
Locked
nickytonline
started this conversation in
General
Replies: 1 comment
-
The related PR is #3754 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Currently, with the Netlify template, we're always running
netlify dev
during development. This works and the Remix app runs in Netlify functions, but when a developer makes changes there is no hot reloading. They are required to do a browser refresh of the page to see the changes they made.I discussed this internally as this causes confusion for developers that come to expect hot reloading. The proposed change will be to change the npm
dev
script to runremix dev
so that a developer can build their app and get all the hot reloading goodness that the Remix dev server provides.When they want to test the serverless version, they can run
netlify dev
with the above mentioned caveat about hot reloading.Beta Was this translation helpful? Give feedback.
All reactions