mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
Basic python server working including hot-reload
This commit is contained in:
6
yacv_server/main.py
Normal file
6
yacv_server/main.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from os import system
|
||||
|
||||
if __name__ == '__main__':
|
||||
# Just a reminder that a hot-reloading server can be started with the following command:
|
||||
# Need to disable auto-start to avoid conflicts with the hot-reloading server
|
||||
system('YACV_DISABLE_SERVER=true aiohttp-devtools runserver server.py --port 32323')
|
||||
Reference in New Issue
Block a user