From 1f6ab7cf47aec659420da3d4f8c2c5a1795da5d3 Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Sun, 30 Jul 2023 13:29:15 -0400 Subject: [PATCH] only run once --- run-serve.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run-serve.tsx b/run-serve.tsx index 2c45b08..90bd739 100644 --- a/run-serve.tsx +++ b/run-serve.tsx @@ -259,8 +259,13 @@ export const Configure =(config:ConfigurationArgs)=> ImportMapReload(); } + +let running = false; export default async()=> { + if(running){return}; + running = true; + await ImportMapReload(); try {