Skip to content

Commit

Permalink
feat: add TypeScript to default execPath (#1552)
Browse files Browse the repository at this point in the history
`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. (:
  • Loading branch information
leonardodino authored and remy committed May 1, 2019
1 parent 2973afb commit 64b474e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
execMap: {
py: 'python',
rb: 'ruby',
ts: 'ts-node',
// more can be added here such as ls: lsc - but please ensure it's cross
// compatible with linux, mac and windows, or make the default.js
// dynamically append the `.cmd` for node based utilities
Expand Down

0 comments on commit 64b474e

Please sign in to comment.