add hot reloading worker:dev script

This commit is contained in:
keyan 2024-03-06 16:50:48 -06:00
parent b38a5e653c
commit a3428d1edc
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@
"start": "NODE_OPTIONS='--trace-warnings' next start -p $PORT --keepAliveTimeout 120000",
"lint": "standard",
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
"worker": "tsx --trace-warnings worker/index.js"
"worker": "tsx --trace-warnings worker/index.js",
"worker:dev": "tsx --trace-warnings --watch worker/index.js"
},
"dependencies": {
"@apollo/client": "^3.8.5",