Must Close Browser in order to get Updated Compile
Monkey Forums/Monkey Programming/Must Close Browser in order to get Updated Compile
| ||
I realized that I must close the Browser in order to see the effects of my changed code every time I make a change. Is that true? Also Another Basic question: How Can you make Pause Like Press any key to continue... |
| ||
Is that true? Open the Bouncyaliens.monkey sample, compile and run it, your browser (btw its best to use Chrome IMHO) should open and your game should run. Now alter the code (ie reduce the number of aliens), compile and run again, in Chrome another tab is opened displaying your game with the changes. If you go back to the first tab and click refresh you will see the changes as well - all without closing the browser. How Can you make Pause Like Press any key to continue... Repeat ... Until AnyInputPressed() ... Function AnyInputPressed:Bool() For Local i:Int = 0 To 511 If KeyHit(i) Then Return True Next Return False End |
| ||
I have the same issue as hardcoal. In order for the chnages to be copiled, I have to close the mserver app and let monkey reopen it. its like mserver locks the dir or files so that monkey can't overwrite. (or maybe it caches files) |
| ||
What browser are you using? IE caches the javascript files - I use Chrome without this issue. |
| ||
I've always used Firefox Will try chrome at some point |