Skip to content

Commit 3f48322

Browse files
committed
fix current defaults
1 parent 38d0c49 commit 3f48322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ But you can also make it more permanent if you find that some of your components
6161
#### optimistic
6262

6363
Type: `bool`<br>
64-
Default: `true`
64+
Default: `false`
6565

66-
Set this to `false` to consider runtime errors during component init (i.e. when your `<script>` code is run) as fatal to HMR (hence worthy of a full reload if `noReload` option is not set). By default, `svelte-hmr` will try to render the next version of the component in the place of the one that has crashed.
66+
Set this to `false` to consider runtime errors during component init (i.e. when your `<script>` code is run) as fatal to HMR (hence worthy of a full reload if `noReload` option is not set). When `true`, `svelte-hmr` will try to render the next version of the component in the place of the one that has crashed instead of programming a full reload.
6767

6868
## What's HMR, by the way?
6969

0 commit comments

Comments
 (0)