We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
--reload not working on Windows but --loop asyncio is
Duplicate of https://github.com/encode/uvicorn/issues/477 but per request a new topic to track the issue. Especially useful since `--loop asyncio` does seem to work just fine.

@tomchristie suggests to default to asyncio on all platforms. I can make a PR for that. Do you still want to keep the optional uvloop dependency? (It's incompatible with Windows in any case, so perhaps it should be removed from the requirements file at least.)

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `uvicorn/loops/auto.py`
Content:
```
1 import sys
2 
3 
4 def auto_loop_setup():
5     try:
6         import uvloop
7     except ImportError as exc:  # pragma: no cover
8         if sys.platform == "win32":
9             from uvicorn.loops.iocp import iocp_setup as loop_setup
10         else:
11             from uvicorn.loops.asyncio import asyncio_setup as loop_setup
12 
13         loop_setup()
14     else:
15         from uvicorn.loops.uvloop import uvloop_setup
16 
17         uvloop_setup()
18
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/uvicorn/loops/auto.py b/uvicorn/loops/auto.py
--- a/uvicorn/loops/auto.py
+++ b/uvicorn/loops/auto.py
@@ -5,10 +5,7 @@
     try:
         import uvloop
     except ImportError as exc:  # pragma: no cover
-        if sys.platform == "win32":
-            from uvicorn.loops.iocp import iocp_setup as loop_setup
-        else:
-            from uvicorn.loops.asyncio import asyncio_setup as loop_setup
+        from uvicorn.loops.asyncio import asyncio_setup as loop_setup
 
         loop_setup()
     else:

{"golden_diff": "diff --git a/uvicorn/loops/auto.py b/uvicorn/loops/auto.py\n--- a/uvicorn/loops/auto.py\n+++ b/uvicorn/loops/auto.py\n@@ -5,10 +5,7 @@\n     try:\n         import uvloop\n     except ImportError as exc:  # pragma: no cover\n-        if sys.platform == \"win32\":\n-            from uvicorn.loops.iocp import iocp_setup as loop_setup\n-        else:\n-            from uvicorn.loops.asyncio import asyncio_setup as loop_setup\n+        from uvicorn.loops.asyncio import asyncio_setup as loop_setup\n \n         loop_setup()\n     else:\n", "issue": "--reload not working on Windows but --loop asyncio is\nDuplicate of https://github.com/encode/uvicorn/issues/477 but per request a new topic to track the issue. Especially useful since `--loop asyncio` does seem to work just fine.\r\n\r\n@tomchristie suggests to default to asyncio on all platforms. I can make a PR for that. Do you still want to keep the optional uvloop dependency? (It's incompatible with Windows in any case, so perhaps it should be removed from the requirements file at least.)\n", "before_files": [{"content": "import sys\n\n\ndef auto_loop_setup():\n    try:\n        import uvloop\n    except ImportError as exc:  # pragma: no cover\n        if sys.platform == \"win32\":\n            from uvicorn.loops.iocp import iocp_setup as loop_setup\n        else:\n            from uvicorn.loops.asyncio import asyncio_setup as loop_setup\n\n        loop_setup()\n    else:\n        from uvicorn.loops.uvloop import uvloop_setup\n\n        uvloop_setup()\n", "path": "uvicorn/loops/auto.py"}], "after_files": [{"content": "import sys\n\n\ndef auto_loop_setup():\n    try:\n        import uvloop\n    except ImportError as exc:  # pragma: no cover\n        from uvicorn.loops.asyncio import asyncio_setup as loop_setup\n\n        loop_setup()\n    else:\n        from uvicorn.loops.uvloop import uvloop_setup\n\n        uvloop_setup()\n", "path": "uvicorn/loops/auto.py"}]}