aboutsummaryrefslogtreecommitdiff
path: root/nodemon.json
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2022-03-12 20:38:33 -0500
committerGitHub <[email protected]>2022-03-12 19:38:33 -0600
commita60bde8d5bc708d08ddca61e347a4570b501e313 (patch)
tree133a1691a47697c66018583e6cea95a19f7f2c8a /nodemon.json
parentdb88e39c76a54215443f919a9f69f4af2f28526a (diff)
downloadmuse-a60bde8d5bc708d08ddca61e347a4570b501e313.tar.xz
muse-a60bde8d5bc708d08ddca61e347a4570b501e313.zip
Use on-the-fly transpiling with esmo (#562)
Diffstat (limited to 'nodemon.json')
-rw-r--r--nodemon.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/nodemon.json b/nodemon.json
index 44ab8fb..9de1778 100644
--- a/nodemon.json
+++ b/nodemon.json
@@ -1,6 +1,6 @@
{
"ignore": ["**/*.test.ts", "**/*.spec.ts", ".git", "node_modules"],
- "watch": ["dist"],
- "exec": "npm run env:set-database-url -- node --experimental-json-modules dist/scripts/start.js",
- "ext": "js"
+ "watch": ["src"],
+ "exec": "npm run env:set-database-url -- esmo src/scripts/start.ts",
+ "ext": "ts"
}