Auto-reload file changes
When a file is edited externally, WebStorm shows a prompt that the file was changed, and asks if it should be reloaded.
This is a quite annoying behavior when something is set up to automatically edit files (like prettier or eslint).
Is there any setting that forces WebStorm to just reload the file if any changes happened, without prompting?
I haven't found one, but on another laptop it has that behavior, so there must be something.
Thanks for your help!
Dominik
Please sign in to leave a comment.
no way, please follow https://youtrack.jetbrains.com/issue/IDEA-192509 for updates
Thanks, but how is it possible that on another laptop of mine it works? There is just shows the file as it is on disk, without me having to trigger a reload.
How does that prompt looks like.
I've turned such behaviour off for myself really long time ago -- not sure how and where to look at it now. Maybe seeing the screenshot will give some hints...
P.S. If you disable "Settings/Preferences | Appearance & Behavior | System Settings | Synchronization | Synchronize files on frame or editor tab activation" option ... IDE will show notification bar on top with "Reload" prompt (and possible other options -- depends on situation). But if you have it enabled .. it reloads file with no extra questions asked.
That's how it works for me here in 2018.1.6.
Is that what you are after?
I experience the same behaviour and as Dominik pointed out, it works flawless on my Mac Pro 2014, and not on may Mac Pro 2019. Could this be a race condition between the save and the speed the watcher is triggered?
yes, can be a race condition. Do you have any file watchers configured in the IDE? If yes, what do they look like?
I suspect that. Other than the underlying hardware the setup is basically identical (as I am migrating from my old to new macbook)
And while I send this I realized the missing $ after FilePath. :-(
My apologies and thank you! Solved my problem.