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:
parent
730185e6cf
commit
2d3c9df5d7
1 changed files with 4 additions and 0 deletions
|
@ -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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue