This plugin uses craft-plugin-vite to bundle its CP frontend assets.
This is how you start the HMR server:
cd buildchain
npm install
npm run dev
You must also tell craft-plugin-vite to use the HMR server by setting the
VITE_PLUGIN_DEVSERVER
environment variable to a truthy value.
Example:
VITE_PLUGIN_DEVSERVER="true"
Before committing your frontend changes, don't forget to build them and include them in your commit:
cd builchain
npm run build
git add ../src/web/assets/dits