Hot-reloading would fail when the script is in a path with space in it.
E.g D:\Python\path with space\main.py would not work
but D:\Python\test\main.py would reload just fine.
The exact error message:
PS D:\Python\path with space> C:\Users***\AppData\Local\Programs\Python\Python311\python.exe: can't open file 'D:\Python\path': [Errno 2] No such file or directory
Hot-reloading would fail when the script is in a path with space in it. E.g D:\Python\path with space\main.py would not work but D:\Python\test\main.py would reload just fine.
The exact error message: PS D:\Python\path with space> C:\Users***\AppData\Local\Programs\Python\Python311\python.exe: can't open file 'D:\Python\path': [Errno 2] No such file or directory
Environment: