Skip to content

Commit fceea61

Browse files
authored
Merge pull request #299 from brendanboyle87/feature/use-wsl-for-uvicorn-on-windows
update server run documentation to recommend WSL for Windows users
2 parents 5b55b85 + ee2a144 commit fceea61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbs/tutorials/by_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"cell_type": "markdown",
6060
"metadata": {},
6161
"source": [
62-
"To run this app, place it in a file, say `app.py`, and then run it with `uvicorn app:app --reload`. You'll see a message like this:\n",
62+
"To run this app, place it in a file, say `app.py`, and then run it with `uvicorn app:app --reload`. (We recommend that Windows users run the Uvicorn server via WSL to avoid [this issue](https://github.com/encode/uvicorn/issues/1972).) You'll see a message like this:\n",
6363
"```\n",
6464
"INFO: Will watch for changes in these directories: ['/home/jonathan/fasthtml-example']\n",
6565
"INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)\n",

0 commit comments

Comments
 (0)