ionic serve - browser not refreshed on save #329
Comments
Same here. I had to switch back to 0.39 because of this. |
+1 same issue using 0.0.41. Seems to be hit and miss. Some instances I have to quit out of serve mode and restart to get it to reload the files correctly. |
Also experiencing this. Saving twice triggers a proper build/refresh. Some more info: |
Can confirm, |
Same issue experienced here. Never ending issues with this new build system! |
Are you all developing on Windows? I have used app-scripts hundreds (thousands even) of times and I have never seen this - but I develop on a Mac. Thanks, |
I'm on a Mac, but my team uses Windows. Can everyone confirm if this is still an issue in the latest version? |
I cannot recreate this on Windows 7 with Node 6.x - whatever the LTS version is. Just built out an app in the past 20 minutes and it worked flawlessly. I am thinking maybe it's a Windows 10 issue. I have never tested on Windows 10. Thanks, |
I just tried 0.0.43 and same issue. I am on windows 10 I ran the serve with debug and attached the output if that can help you debug this issue. |
I see the same with Windows 10. Had to revert back to 0.0.39 which works fine. On @latest intermittently when saving multiple files the live reload triggers but changes in one file wouldn't reflect in the build. |
When you see this occur, can you do me a favor and just refresh the page and see it the correct code is there? I am thinking this is a race condition on Windows where the "file write event" fires before the file is truly written. The bug would be in a library that we use but I have some ideas to work around it. Thanks, |
Just tested again with 0.0.43 - saved and the browser didnt reload. |
When this happens, are you saving more than one file at a time? Like a Thanks, |
Only one file. |
Same here guys, on Windows 10, saving one file or many files. Thanks. |
@andborges you can rollback the changes on your package.json and then run |
Still no news concerning this issue? For me the behavior @0.0.45 and .46 is like this:
|
Working on Windows 7. |
Can you give me more info or a path to recreate the issue? We released what we believed to be fixes for this issue. Are you all still experiencing it with 0.0.46? Thanks, |
This issue should be resolved. Please let me know if it's not and it's a major drain on productivity. Thanks, |
ensure that all items are saved. Like for Visual Studio Code click the Save All button. |
Not sure if it's the same issue or a related issue. I have app-scripts v2.1.3 on Windows 10, and when I save a change to a HTML view file (*.html), the first time I save a transpile is NOT done; I have to save a second time for the transpile to be done and for the updates in to the HTML file to be visible in my browser. Here are the echos from my command prompt for the first and second save of a .html file: [11:05:48] build started ... It seems to be the transpile that makes the difference. Let me know if I should open a new bug. This happens for single file saves. |
I have the exact same issue as @ultrawebsites.
|
having the same issue. |
Issue still exist. Experienced it with windows 8 and windows 10. |
today i was trying to config visual studio code with chrome for debug tools
|
Short description of the problem:
ionic serve -b
doesnt refresh the browser after saving changes in editor. Have to save twice to make the changes updated in browserWhat behavior are you expecting?
When saving the browser should refresh
Steps to reproduce:
ionic serve -b
then open a browser for localhost:8100Which @ionic/app-scripts version are you using?
0.0.40 and 0.0.41
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
The text was updated successfully, but these errors were encountered: