Have make build the module once before watching it
This commit is contained in:
parent
cfa5d7aaad
commit
5c47a967dd
1 changed files with 2 additions and 2 deletions
|
|
@ -21,10 +21,10 @@ watch:
|
||||||
@echo "\tmake watch-cjs"
|
@echo "\tmake watch-cjs"
|
||||||
@echo These processes will not terminate, which is why they cannot be run in the same rule
|
@echo These processes will not terminate, which is why they cannot be run in the same rule
|
||||||
|
|
||||||
watch-esm:
|
watch-esm: esm
|
||||||
tsc --module es6 --outDir $(ESM_LOCATION) --watch
|
tsc --module es6 --outDir $(ESM_LOCATION) --watch
|
||||||
|
|
||||||
watch-cjs:
|
watch-cjs: cjs
|
||||||
tsc --module commonjs --outDir $(CJS_LOCATION) --watch
|
tsc --module commonjs --outDir $(CJS_LOCATION) --watch
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue