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_

4
18 comments
Avatar
Permanently deleted user

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.

0

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?

2
Avatar
Permanently deleted user

It looks like it works now. Thank you.

0
Avatar
Permanently deleted user

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

0

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.)

0
Avatar
Permanently deleted user

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.

0
Avatar
Permanently deleted user

Any thoughts to anyone about this mystery? I'm thinking that it is indeed a bug in IntelliJ

0
Avatar
Permanently deleted user

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).

 

0
Avatar
Permanently deleted user

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.

0
Avatar
Permanently deleted user

Disabling safe-write also solved my problem too.

0
Avatar
Permanently deleted user

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.

 

 

1

Disabling safe-write also solved my problem either

0

when I delete file in folder 'target', file is refesh

0

I tried emptying the cache in developer mode and it worked like charm for me. On safari press option + command + E.

0

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.

0

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. 

0

It appears safe-write has been renamed to "Back up files before saving". Disabling this option fixed the issue for me.

0

I was having this issue with a javascript handlebars & java spring project. Settings>System Settings>Appearance & Behavior>System Settings> Turn off 'Back up files before saving' worked for me on this issue as well. 

2

Please sign in to leave a comment.