Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Locks browser on refresh while worker is active. #21
If you refresh the browser and begin editing the multi-line ace console before the page is completely reloaded it will freeze the browser. I couldn't reproduce the error with ace in the browser window so I'm pretty sure it is breaking at the Acebug level. It only freezes the browser if the code validation is on. Anyway to force the validation worker to wait until the entire page is refreshed? Or package the scripts so it doesn't hang?
I'm not sure where to even look for a fix. Any ideas?
Another thought while I'm here: Since the worker is problematic, could it be set in Ace to only check the document on enter press at the end of a line input and not onChange? It is not very useful to check for a missing bracket while you are typing the contents inside of the bracket.