Webstorm runs ok when I open ts files, but once I compile, the whole program becomes super slow.
I don't run watch, just simply run tsc. I also check off "enable typescript compiler" option and "resolve objects using tsconfig.json" from webstorm's preference setting, which make it slightly faster, but still unacceptable slow. I have to constantly turn off webstorm, and re-open it once i compile my app. It is super annoying.
I am wondering if any watcher running in the background? But I do check anything I can think of, anyone has the same problems?
Doing following helped me
Preferences->Directories->Excluded Folders
mannually
/Applications/WebStorm.app/Contents/bin/webstorm.vmoptions
or go to
Help/Edit VM Options
then change it to look
-Xms1024m
-Xmx1536m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=512m
-XX:+UseCompressedOops
Current Webstorm 2016.3.4 is quite good at angular, so if you have an old version first thing you need to do is to go for the latest version.
also if you are using an old angular-cli please update it as well because with angular 4 release they are focusing on more smaller build and faster typescript compilation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With