Today I’m doing course that uses TypeScript files, but I don’t have my tooling like ALE, ESLint, and Prettier because they’re inside a highly configured project directory. I’ve got a workaround: watching the file with my compiler.

tsc tutorial/src/index.ts --watch

This returns:

Starting compilation in watch mode.

Now, when I write my tutorial file, the compiler compiles, giving near-instant feedback that my file is compilable (or not).

See tsc --help for more info.