1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:13:31 +02:00

tsc: add watch mode instruction (#14288)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Azriel Stephen Christian Barla 2024-10-20 20:30:17 +05:30 committed by GitHub
parent 730185e6cf
commit 2d3c9df5d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,3 +26,7 @@
- Type-check multiple JavaScript files, and output only the errors: - Type-check multiple JavaScript files, and output only the errors:
`tsc --allowJs --checkJs --noEmit {{src/**/*.js}}` `tsc --allowJs --checkJs --noEmit {{src/**/*.js}}`
- Run the compiler in watch mode, which automatically recompiles code when it changes:
`tsc --watch`