Local Npm Module Development Using Hot Reloading
I am creating 2 npm packages which depend on.
Module A (package.json)
"dependencies": {
"module-b":"~0.0.1"
}
We are using npm link
these two applications to connect locally. We currently need to run npm run prepublish
on module-b to render the changes in the module and then start the dev webserver on server-a
Question: Is it possible for us to have a hot reload between these two modules. How will any changes made to Module B be automatically reflected in ModuleA?
+3
source to share
No one has answered this question yet
Check out similar questions: