diff --git a/README.md b/README.md index 44a80a31..570dc3f6 100644 --- a/README.md +++ b/README.md @@ -145,104 +145,7 @@ This should create an additional `styles.css.map` file. ### Hot Reload -Hot reloading is turned off by default, you can turn it on using the `hotReload` option as shown below: - -```javascript - ... - module: { - rules: [ - ... - { - test: /\.(html|svelte)$/, - exclude: /node_modules/, - use: { - loader: 'svelte-loader', - options: { - hotReload: true - } - } - } - ... - ] - } - ... -``` - -#### Hot reload rules and caveats: - - - `_rerender` and `_register` are reserved method names, please don't use them in `methods:{...}` - - Turning `dev` mode on (`dev:true`) is **not** necessary. - - Modifying the HTML (template) part of your component will replace and re-render the changes in place. Current local state of the component will also be preserved (this can be turned off per component see [Stop preserving state](#stop-preserving-state)). - - When modifying the `