From 1272dab17501c12bdf6fd6621741a4b8d3854e78 Mon Sep 17 00:00:00 2001 From: Leonardo Dino Date: Wed, 10 Apr 2019 19:10:20 +0200 Subject: [PATCH] Add TypeScript to default execPath `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