📜  带有 ts-node 的 nodemon 在 linux 上不起作用 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:21.411000             🧑  作者: Mango

代码示例1
"scripts": {
        "cleanup": "rimraf dist",
        "build": "tsc --pretty",
        "start": "node dist/server.js",
        "dev": "nodemon -w 'src/**/*.ts' -x ts-node --files -H -T server.ts",
        "format": "prettier ./src/**/*.{ts,spect.ts,test.ts} --write",
        "lint": "eslint ./src/**/*.{ts,spect.ts,test.ts} --fix",
        "lintfix": "npm run format && npm run lint",
        "test": "jest",
        "test:watch": "jest --watchAll"
    },