Open jkirsch opened 9 years ago
Hi,
if I serve an app using livereload there seems to be a racecondition when to reload the page.
I basically just use a starter project and serve it in chrome
grunt serve --consolelogs
If i now change something in the app folder, like the title in the index.html page everything is rebuild
app
index.html
>> File "app\index.html" changed. Running "newer:copy:app" (newer) task Running "copy:app" (copy) task
But the browser reloads too early, when basically not all files have been moved over to the www folder.
www
I then see errors like this in the console
0 282928 log LiveReload protocol error (invalid command 'reload', only valid commands are: hello)) after receiving data: "{"command":"reload","path": "myapp\\www\\bower_components\\ionic\\js\\angular\\directive\\modalView.js","liveCss":true,"liveJs":true,"liveImg":true}"..
Not sure if this is a specific issue with my setup - or just one in general an issue with ionic detecting the change not as a "set"?
I couldn't find an option for specifying the timeout or delay in the ionic.project file.
ionic.project
Any suggestions?
I'm using
ionic@1.3.8 generator-ionic@0.7.0 win 7
I have same issue. I even reinstalled whole stack (node, npm, ionic, cordova etc.). Clean, newest packages and LiveReload just choking. Thanks for any advice.
npm 2.14.4 node v4.1.1 Windows 10
Hi,
if I serve an app using livereload there seems to be a racecondition when to reload the page.
I basically just use a starter project and serve it in chrome
grunt serve --consolelogs
If i now change something in the
app
folder, like the title in theindex.html
page everything is rebuildBut the browser reloads too early, when basically not all files have been moved over to the
www
folder.I then see errors like this in the console
Not sure if this is a specific issue with my setup - or just one in general an issue with ionic detecting the change not as a "set"?
I couldn't find an option for specifying the timeout or delay in the
ionic.project
file.Any suggestions?
I'm using
ionic@1.3.8 generator-ionic@0.7.0 win 7