From 64b474e9f3c24cd4c1f360a73da3d675559b3b3e Mon Sep 17 00:00:00 2001 From: Leonardo Dino Date: Wed, 1 May 2019 04:04:44 -0300 Subject: [PATCH] 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. (: --- lib/config/defaults.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config/defaults.js b/lib/config/defaults.js index 6a225619..e2a448b4 100644 --- a/lib/config/defaults.js +++ b/lib/config/defaults.js @@ -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