build: fix automatic rebuilding with npm run dev

This commit is contained in:
Jonas Gloning 2023-01-10 21:11:47 +01:00
parent 927a396692
commit e0d5df87f3
No known key found for this signature in database
GPG Key ID: 684639B5E59E7614

View File

@ -55,7 +55,7 @@
"coverage": "nyc mocha", "coverage": "nyc mocha",
"coverage:lcov": "nyc --reporter=lcov mocha", "coverage:lcov": "nyc --reporter=lcov mocha",
"start": "node dist/bin/peerjs.js --port ${PORT:=9000}", "start": "node dist/bin/peerjs.js --port ${PORT:=9000}",
"dev": "nodemon --watch src -e ts --exec npm run start", "dev": "nodemon --watch src -e ts --exec 'npm run build && npm run start'",
"semantic-release": "semantic-release" "semantic-release": "semantic-release"
}, },
"dependencies": { "dependencies": {