Sunday, 13 January 2019

Looking for a way to run tsc and nodemon in the same terminal in Visual Studio Code?

Stumble upon concurrently and it looks promising! What's your way of achieving this?nodemon.json{ "watch": ["build"], "ext": "js" } package.json{ "name": "demo", "version": "0.0.1", "private": true, "scripts": { "start": "node build/index.js", "code": "concurrently -k -n ts,nodemon \"tsc -w\" \"nodemon\"" }, "devDependencies": { "concurrently": "^4.1.0", "nodemon": "^1.18.9", "typescript": "^3.2.2" } } npm run code

Submitted January 13, 2019 at 02:30PM by sunknudsen

No comments:

Post a Comment