#How to use Typescript with Apache Webserver
6 messages · Page 1 of 1 (latest)
the easiest way is by running tsc -w
this makes it so every time you save the file, it will auto-compile
Apache is simply a program to serve static files
it is not relevant to your "problem"
you could very well be reading the files from disk locally, you'd run into the same kind of problems
as Draedon said, using the watch mode (-w) will watch your project folder for changes and recompile the code every time
note this is something you should only use for local development, so not sure why are included the Apache server, which sounds more "production" related