Skip to content

Commit 415ff22

Browse files
committed
fix default value in README
1 parent f2d754c commit 415ff22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Force preservation of a given local variable in this component.
9595
#### optimistic
9696

9797
Type: `bool`<br>
98-
Default: `false`
98+
Default: `true`
9999

100100
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.
101101

0 commit comments

Comments
 (0)