docs: clarify HMR usage docs

This commit is contained in:
Lars den Bakker
2020-11-23 21:16:24 +01:00
parent f5a229c2bc
commit e846e9c8dd

View File

@@ -32,7 +32,9 @@ export default {
};
```
Pick one of the presets below if needed, then start the dev server like normal.
Pick one of the presets below if needed, then start the dev server like normal. There are no code modifications needed. If a component or one of it's dependencies is changed, the component is replaced. Otherwise the page is reloaded.
> Make sure to start the dev server without `watch` mode, as this always forces a page reload on change.
## Implementations