Skip to content

Commit 6c05f52

Browse files
author
Maxime Mangel
authored
Add a note about using --verbose because of Vite freezing issue
1 parent f30466b commit 6c05f52

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/docs/getting-started/javascript.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,19 @@ document.body.appendChild div |> ignore
232232
Run Fable in watch mode and Vite in parallel.
233233

234234
```bash
235-
dotnet fable watch --run npx vite
235+
dotnet fable watch --verbose --run npx vite
236236
```
237237

238+
:::info
239+
We need to use `--verbose` mode when running `vite` from Fable because of a freezing issue.
240+
241+
The issue is tracked [here[(https://github.com/fable-compiler/Fable/issues/3631)
242+
:::
243+
238244
If you open the browser, you should see `Hello world!`.
239245

240246
Try changing the content of `Program.fs` and see the result in the browser.
241247

242248
</li>
243249

244-
</ul>
250+
</ul>

0 commit comments

Comments
 (0)