1.0.4 • Published 4 years ago
ts-node-restarter v1.0.4
ts-node-restarter
A cli tool for restarting your node.js server when files change
Install
yarn add ts-node-restarteror
npm install ts-node-restarterCLI
You can use ts-node-restarter by cli, such as
yarn ts-node-restarter index.jsor
npm run ts-node-restarter index.jsScript
Or you can use ts-node-restarter by script, such as
"scripts": {
"restarter": "ts-node-restarter index.js"
}and run
yarn restarterSettings
add a restarter.json in your project root directory, and add watching files path, such as
{
"watch": ["index.js"]
}