Skip to content

Commit fbe1eaf

Browse files
committed
disable --rs by default
1 parent 7bc6bec commit fbe1eaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ tsnd --respawn server.ts
4949
- `--clear` (`--cls`) Will clear screen on restart
5050
- `--watch` - Explicitly add arbitrary files or folders to watch and restart on change (list separated by commas, [chokidar](https://github.com/paulmillr/chokidar) patterns)
5151
- `--exit-child` - Adds 'SIGTERM' exit handler in a child process.
52-
- `--rs` - Allow to restart with "rs" line entered in stdio, enabled by default, may turn it off `--rs false`
52+
- `--rs` - Allow to restart with "rs" line entered in stdio, disabled by default.
5353

5454
**Caveats and points of notice:**
5555

bin/ts-node-dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var opts = minimist(devArgs, {
6666
project: 'P',
6767
'restart-terminated': 'rt'
6868
},
69-
default: { deps: true, notify: true, rs: true, 'type-check': true },
69+
default: { deps: true, notify: true, rs: false, 'type-check': true },
7070
unknown: function(arg) {
7171
unknown.push(arg)
7272
return true

0 commit comments

Comments
 (0)