Have make build the module once before watching it

This commit is contained in:
Oliver Akins 2022-07-20 22:13:49 -06:00
parent cfa5d7aaad
commit 5c47a967dd
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -21,10 +21,10 @@ watch:
@echo "\tmake watch-cjs"
@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
watch-cjs:
watch-cjs: cjs
tsc --module commonjs --outDir $(CJS_LOCATION) --watch
test: