Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Webstorm does not refresh corrected code

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?

like image 435
EternallyCurious Avatar asked Jan 03 '14 08:01

EternallyCurious


People also ask

How do I refresh WebStorm?

or press Ctrl+F5 . To run Force Refresh, click the Force Refresh toolbar button.

Does WebStorm work with TypeScript?

With WebStorm, you can run and debug client-side TypeScript code and TypeScript code running in Node. js. Learn more from Running and debugging TypeScript.

How do you add a picture on WebStorm?

Select the image file in the Project tool window, and select Jump to external editor or press Ctrl+Alt+F4 . WebStorm opens the image in the editor that is used in your OS by default. You can configure another image editor in which the IDE will open files.


2 Answers

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)

like image 56
Travis Avatar answered Sep 24 '22 15:09

Travis


Try File/Invalidate caches, Restart. If it doesn't help, file an issue to youtrack (http://youtrack.jetbrains.com/issues/WEB), provideing your idea.log and steps to recreate

like image 40
lena Avatar answered Sep 23 '22 15:09

lena