Make the development server directory watch list extendable #57811
twoelevenjay
started this conversation in
Ideas
Replies: 2 comments
-
+1 this is also important for local development process using |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1 I'm very interested in this proposal on GitHub to extend the HMR watch list |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
import
. But Next dynamic import breaks this. It would be addressable with a simple option to extend the watch list.Non-Goals
Background
While exhausting the possible alternatives, nothing was suitable. My only options were to remove Next HMR and replace it with one patched together. Next is so robust it is the best option for my goal. But I want to use Next for a component library that will separate the traditional Next files from a data file and Theme files. This way individual project needs will edit the data and theme files, while any changes to the component library will be edited separately . So I need the /themes/ directory to be added to the HMR watch list. https://github.com/twoelevenjay/component-js
Proposal
Beta Was this translation helpful? Give feedback.
All reactions