Webstorm does not refresh corrected code

typescript, webstorm

Solution

It might help to try forcing the File Watcher to run.

Select a project root folder, hit Ctrl+Shift+A -> Ctrl+Shift+A to enable non-menu actions -> type "run file " -> choose Run File Watchers....

This was part of an answer to another question.(answer by user Lena)

Problem

I am using Webstorm for a Typescript project. It does not remove the red flags (or code highlighted in red) even after I've corrected the error that's causing it. The error continues to show. I suppose, Webstorm does not recompile the project everytime a file is changed - to see if the error is still there. How can I fix this issue?

Original source