Skip to content

Commit 81eee18

Browse files
committed
updated readme
1 parent 90b0c92 commit 81eee18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ or:
4141

4242
tsc --module amd index.ts
4343

44+
If you want TypeScript to watch for changes and recompile whenever you save a source file, add the `-w` option, e.g.:
45+
46+
tsc -w --module commonjs index.ts
47+
4448
The `--module` flag is required when using DCI because some features are achieved at runtime, so the `typescript-dci/dci` module
4549
needs to be available to every DCI program. For server-side or desktop programs, use `commonjs` and it should work out of the box.
4650

0 commit comments

Comments
 (0)