rblopes / generator-phaser-plus

[🛑 DISCONTINUED] It has been a long journey but development of `generator-phaser-plus` is now over. I recommend you have a look and fork `yandeu/phaser-project-template` instead.
https://github.com/yandeu/phaser-project-template
MIT License
144 stars 14 forks source link

Having to save files twice to get them working in browser #10

Closed budda closed 8 years ago

budda commented 8 years ago

When I edit a file in Atom editor I need to save it twice before the new code is available in my browser, Chrome.

I can see the gulp stuff working in the terminal on each save -- but the new files are not being re-loaded in the browser it seems.

Is there a way to force the web browser to be using the new build output without me sacing each edited file twice?

rblopes commented 8 years ago

Unfortunately, only solution I know at the moment is to restart the project server. I'm not sure about what causes this issue, maybe BrowserSync is not triggering the page reload properly. I see this issue when switching branches inside a game project, but that happens very occasionally.

rblopes commented 8 years ago

A new version of the generator was published with a correction for this issue.