This app unblock hot module replacement requests for webpack apps.
To install it change into your Nextcloud's apps directory:
cd nextcloud/apps
Then run:
git clone https://github.com/nextcloud/hmr_enabler.git
Install the dependencies using:
make composer
To use HMR in your app, use the @nextcloud/webpack-vue-config
.
Afterwards add a line like the following to your scripts in package.json:
"serve": "webpack serve --node-env development --allowed-hosts all",