1.2.2 • Published 5 years ago

tsnodemon v1.2.2

Weekly downloads
189
License
MIT
Repository
-
Last release
5 years ago

tsnodemon

tsnodemon is a minimalist command to compile typescript in watch mode and restart nodejs app after incremental compilation

Installation

Install typescript

npm install typescript --save-dev

Install tsnodemon

npm install tsnodemon --save-dev

Add command in package.json

"scripts": {
  "watch": "tsnodemon -x 'node REPLACE_ENTRY_FILE.js'"
}

You can remove "-x" argument if you add "main" section in your package.json

{
  "name": "tsnodemon",
  "main": "REPLACE_ENTRY_FILE.js",
  "scripts": {
    "watch": "tsnodemon"
  },
  "devDependencies": {
    "typescript": "^2.3.4",
    "tsnodemon": "^1.1.1"
  }
}
1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago