How to watch and compile all TypeScript sources?
Create a file named tsconfig.json in your project root and include following lines in it: { “compilerOptions”: { “emitDecoratorMetadata”: true, “module”: “commonjs”, “target”: “ES5”, “outDir”: “ts-built”, “rootDir”: “src” } } Please note that outDir should be the path of the directory to receive compiled JS files, and rootDir should be the path of the directory … Read more