wclr / ts-node-dev

Compiles your TS app and restarts when files are modified.
MIT License
3.43k stars 123 forks source link

Flags allowed for 'ts-node' are out of date #334

Open justincorrigible opened 1 year ago

justincorrigible commented 1 year ago

According to https://github.com/TypeStrong/ts-node#logerror, the syntax for the flag to log errors (instead of crashing the process) is now logError, while this package expects log-error instead (i.e. not as an alias or alternate syntax), as seen here. The ticket title here implies my assumption the syntax for those may have been different in the past. https://github.com/wclr/ts-node-dev/blob/32bdc92458a59f66bcbd36e87de2a793f529a825/src/bin.ts#L20

Other flags seem to be missing e.g. showConfig. While I may open a PR at some point to update these, I'm documenting the issue here in case others are available before me.