How to make Webstorm save all when running Javascript project?

Fairly often I forget to click save after editing multiple files and I click run to have my code not work. It takes me a moment to realize I didn't save. Is there a way to make Webstorm save all files when I click Run?

0
2 comments

WebStorm normally auto-saves all changed files when you click Run - there is no need to save them explicitly. If this doesn't happen to you, can you provide exact steps I can use to recreate the issue?

0

You're right, I think it is saving.

I believe the problem is that the web browser is caching old javascript files and when I hit run it loads the old javascript files.

 

Is there an option in Webstorm to stop caching the javascript files?

0

Please sign in to leave a comment.