LoginSignup
11
11

More than 5 years have passed since last update.

TypeScriptのコンパイルを自動化する

Posted at
tsc -w file1.ts file2.ts #...

tscにはファイルをウォッチして自動的にコンパイルするオプションがあるようです。
-wでプロセスを立ち上げておくと、ウォッチ対象のファイルが上書きされたタイミングで自動的にコンパイルします。

tscは毎度立ち上げると少し遅いので、活用すると面白そう。

11
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
11