How to handle TypeScript Project?

Hey there,

i run currently in the problem, that i don't know how to handle large TypeScript projects with WebStorm. I know that i can setup a FileWatcher for TypeScript, but the problem is, that it only compiles the *.ts files if they change. So the main question is, how can i compile a whole TypeScript Project? If i use Grunt instead, all compiled files (*.map, *.js) aren't attached to the responsible *.ts file and being displayed loose in the navigation hirarchy :/

Kind regards
Chris

2 comments
Comment actions Permalink

You can use 'Run file watchers' command to run a watcher for selected  file/folder/project: just select a file/folder/project root, hit Ctrl+Shift+A ->  Ctrl+Shift+A to enable non-menu actions -> type "run file " ->  choose Run File Watchers.... You can assign custom shortcut for "Plugins  | File Watchers | Run File Watchers" action in Settings | Keymap to  make this procedure less complicated.

0
Comment actions Permalink

Thank you very much!

This works like a charm :)

Kind Regards,
Chris

0

Please sign in to leave a comment.