Rebuild all typescript files?
Hello everyone - just started using WebStorm 9.0.2 for web development instead of Visual Studio 2013 and like it so far.
I'm coding in typescript and keeps the build output (.js / .map) in a separate folder structure because basically they are build artifacts (don't want them in my project structure or in git).
The filewatcher for Webstorm works great for that - but only for changes. What kind of workflow do you have for cleaning / building all of your typescript -> js ? (and basically also .scss -> .css) ??
The only thing I can think of is having a gulpfile which does it for me - but then I have 2 buildsystems....
Feedback is more than welcome, thx.
Best regards
Carsten
Please sign in to leave a comment.
Hi there,
I'd say: definitely use gulp/grunt or alike for your final builds:
Simple speaking (IMO): consider File Watchers as your dev-time tool and gulp/grunt as your final/production build tool.
P.S.
If you need to manually re-run file watchers on all files (force rebuild) -- see http://stackoverflow.com/a/20012655/783119
Hi Andriy - thx. a bunch for input.
Best regards
Carsten