Skip to content

Commit 64b474e

Browse files
leonardodinoremy
authored andcommitted
feat: add TypeScript to default execPath (#1552)
`ts-node` is the standard for running typescript node programs on development mode. Adding this line will enable everyone with a `tsconfig.json` to have a full-refresh server watching experience. (:
1 parent 2973afb commit 64b474e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/config/defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
execMap: {
88
py: 'python',
99
rb: 'ruby',
10+
ts: 'ts-node',
1011
// more can be added here such as ls: lsc - but please ensure it's cross
1112
// compatible with linux, mac and windows, or make the default.js
1213
// dynamically append the `.cmd` for node based utilities

0 commit comments

Comments
 (0)