Javascript and webdev (38)

32 Name: Anonymous Techie : 2022-11-13 10:13 ID:Heaven

Typing tsc myFile.ts every time I edit some typescript file quickly gets tiresome.

This page
https://code.visualstudio.com/docs/typescript/typescript-compiling
recommends doing Execute Run Build Task (Ctrl+Shift+B) from the global Terminal menu, and then selecting tsc: watch.

https://www.youtube.com/watch?v=PDhQQCI4PJE
TypeScript: Auto-Compile in Visual Studio Code
enji.systems
recommends pretty much same thing, but with more customization

visual studio code run command on save
https://betterprogramming.pub/automatically-execute-bash-commands-on-save-in-vs-code-7a3100449f63
he recommended using "Run on Save" extension
Last one seems a bit slower than the rest, but I'll use this for now, until I understand what the hell I'm doing.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: