fix: release build lock before client refresh
This commit is contained in:
		@@ -152,10 +152,10 @@ async function startServing(
 | 
				
			|||||||
      console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`))
 | 
					      console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`))
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    release()
 | 
				
			||||||
    clientRefresh()
 | 
					    clientRefresh()
 | 
				
			||||||
    toRebuild.clear()
 | 
					    toRebuild.clear()
 | 
				
			||||||
    toRemove.clear()
 | 
					    toRemove.clear()
 | 
				
			||||||
    release()
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const watcher = chokidar.watch(".", {
 | 
					  const watcher = chokidar.watch(".", {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user