Changes not updated in the browser 关注
None of the changes that I make to the HTML markup are being updated in the browser (or with cURL on the command script). I deleted my cache in the browser and even cleaned out the system cache
Any ideas? Thanks_
I have the same problem with my Angular application. I am running the terminal outside WebStorm, but when i make a file change, in WebStorm, Angular compiles a bundle with the same hash as previous build.
Seems angular-cli/webpack still don't correctly handle 'safe writes'. Please try disabling
Use "safe write"in
File | Settings | Appearance & Behavior | System Settings- does it help?
It looks like it works now. Thank you.
OK thanks for hijacking the post. This hasn't helped me in updating HTML to be rendered as mentioned. Any solution for the original post? Thanks
You didn't provide any details, problem description is so vague that it's not clear what has to be solved. Most probably, the file you are editing is not the one being actually served. Please provide information about your steps and configuration (web server being used, way to upload file to it, etc.)
So I am currently using the Play Framework (2.5) on my localhost. The problem is that changes being made in the template files, e.g. app/views/index.scala.html are not being updated in either the browser (including when clearing the cache) or command shell when running with cURL. I am viewing the correct pages (in IntelliJ) which are getting the HTML from those files so I cannot find a reason why any changes to such static text shouldn't render (changes to dynamic data passed through functions, etc do update). Any suggestions are welcome. Thanks.
Any thoughts to anyone about this mystery? I'm thinking that it is indeed a bug in IntelliJ
I'm experiencing similar lack of updates with akka-http routes, recently. Will make a separate issue about it. (IntelliJ IDEA CE 2017.4 #IC-171.4694.23).
I had to delete the files in the Target folder (in Play) and recompile ("sbt compile" within the project directory on command shell). This recreates the necessary files. Definite bug though.
Disabling safe-write also solved my problem too.
Disabling Sage write didn´t help but a hard refresh in Chrome did the trick for me.
in Mac press shift and reload, in windows or linux hold down Ctrl and click the Reload button.
Disabling safe-write also solved my problem either
when I delete file in folder 'target', file is refesh
I tried emptying the cache in developer mode and it worked like charm for me. On safari press option + command + E.
I found out that for some reason PyCharm is serving files from another project. I have many old versions of the same project all in one folder, and Pycharm is serving files from another folder of older version.
I even deleted the templates folder and pieces of code of my project for testing, and Pycharm didn't even noticed. It gave no errors in its run terminal.
I found the folder where Pycharm is serving files from. When I make changes in it, I can see the changes in the browser and Pycharm's run terminal
The point is:
Why do I open a project folder in Pycharm, put it to run clicking in the Run button in Pycharm, and PyCharm serves files from another folder?
It doesn't make sense at all. How do I fix it?
Addicional info: It started when I began to make Blueprints in my Flask project.
I could not see the safe-write option in my IntelliJ edition. I do use Angular project. Can anyone of you please drop screenshot of the setting if possible I am using 2021.1.1 I am a student and using student edition. I am not aware whether this option is available or not for student edition.
It appears safe-write has been renamed to "Back up files before saving". Disabling this option fixed the issue for me.