Closed josh-asi closed 6 years ago
@josh-asi you can also run 'tsc -w" to just automatically compile everything in watch mode
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?
@alexblinder It was no hassle. What you said makes sense anyways.
@josh-asi Please squash your commits. Also, remember to tag this account, so we are notified of your PR, thanks!
@softeng-701 Commits squashed
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.