mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 03:26:59 +03:00
fix nodemon to watch .ts files
This commit is contained in:
5
nodemon.json
Normal file
5
nodemon.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"watch": ["src"],
|
||||||
|
"ext": "ts,json",
|
||||||
|
"exec": "(npm test || echo test failed) && npm start"
|
||||||
|
}
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "ts-node test/test.ts",
|
"test": "ts-node test/test.ts",
|
||||||
"dev": "nodemon -x \"(npm test || echo test failed) && npm start\"",
|
"dev": "nodemon",
|
||||||
"dev:bash": "nodemon -x 'npm test ; npm start'",
|
"dev:bash": "nodemon -x 'npm test ; npm start'",
|
||||||
"start": "ts-node src/index.ts",
|
"start": "ts-node src/index.ts",
|
||||||
"tsc": "tsc -p tsconfig.json"
|
"tsc": "tsc -p tsconfig.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user