This functionality allows custom renderers (that do not render to the browser) to enable HMR in their applications.
Ex: https://github.com/nodegui/vue-nodegui => This is a desktop app library and the target eventually is node. It would be nice if vue-nodegui developers could use HMR while developing
What does the proposed API look like?
Adding a enableServerHMR flag in the vue-loader options.
What problem does this feature solve?
This functionality allows custom renderers (that do not render to the browser) to enable HMR in their applications. Ex: https://github.com/nodegui/vue-nodegui => This is a desktop app library and the target eventually is node. It would be nice if vue-nodegui developers could use HMR while developing
What does the proposed API look like?
Adding a
enableServerHMR
flag in the vue-loader options.I've also created a PR to implement this: https://github.com/vuejs/vue-loader/pull/1731/files Please check :)