浏览代码

auto commit

master
jfinn 2 年前
父节点
当前提交
9bb4cecf9a
共有 1 个文件被更改,包括 8 次插入5 次删除
  1. 8
    5
      wsps/tasks_loop.py

+ 8
- 5
wsps/tasks_loop.py 查看文件

@@ -15,11 +15,7 @@ from asgiref.sync import async_to_sync,sync_to_async
15 15
 
16 16
 # hot_reload_build = True
17 17
 hot_reload_build = False
18
-if not hot_reload_build:
19
-	import wsps.hot_reload_temp_staging
20
-else:
21
-	pass
22
-	# import wsps.hot_reload_temp_staging
18
+
23 19
 p=print
24 20
 
25 21
 async def anop(*a,**kw):pass
@@ -420,6 +416,13 @@ def fn1(*a,**kw):
420 416
 	glob_cl.rman.rld_files()
421 417
 glob_cl =  globCL()
422 418
 
419
+if not hot_reload_build:
420
+	import wsps.hot_reload_temp_staging
421
+else:
422
+	pass
423
+	# import wsps.hot_reload_temp_staging
424
+
425
+
423 426
 if hot_reload_build:
424 427
 	glob_cl.rman.rld_files()
425 428
 else:

正在加载...
取消
保存