kblincoe / VisualGit_SE701_2

1 stars 0 forks source link

[Issue #88] Add automatic recompiling of typescript files after a change has been made. #123

Closed josh-asi closed 6 years ago

josh-asi commented 6 years ago

If you want a specific file to auto recompile when you are working on it, simply run 'tsc xxx.ts --watch', replacing xxx with your desired file (e.g. authenticate.ts). Once the ts file has been saved, your changes should appear automatically. This is documented in the README. Furthermore, if you want all your files to automatically compile, simply type 'tsc-w' on the console or run the 'ContinuousComplie' shell file.

alexblinder commented 6 years ago

@josh-asi you can also run 'tsc -w" to just automatically compile everything in watch mode

alexblinder commented 6 years ago

Haha I feel like such a nitpick, sorry Josh.

Can we change the batch file to a bash script instead so it’s platform independent? With my issue I ended up making a bunch of .sh scripts and one of them’s called Compile.sh, can we call yours WatchCompile or ContinuousCompile or something so it doesn’t confuse people?

josh-asi commented 6 years ago

@alexblinder It was no hassle. What you said makes sense anyways.

softeng-701 commented 6 years ago

@josh-asi Please squash your commits. Also, remember to tag this account, so we are notified of your PR, thanks!

josh-asi commented 6 years ago

@softeng-701 Commits squashed