Skip to content

Commit d917522

Browse files
committed
add transpileOnly param support
1 parent 3ce35a5 commit d917522

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

bin/ts-node-dev

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ var opts = minimist(devArgs, {
1313
'all-deps', 'deps', 'dedupe', 'poll', 'respawn', 'notify',
1414
'fast', 'disableWarnings', 'no-cache',
1515
'cache', 'type-check',
16-
'prefer-ts'
16+
'prefer-ts',
17+
'transpileOnly'
1718
],
1819
string: [
1920
'compiler', 'project', 'ignore',

lib/compiler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ var compiler = {
9191
fast: options['fast'],
9292
cache: options['cache'] || !options['no-cache'],
9393
typeCheck: options['type-check'],
94+
transpileOnly: options['transpileOnly'],
9495
cacheDirectory: options['cache-directory'] || path.join(tmpDir, 'cache'),
9596
compiler: options['compiler'],
9697
project: options['project'],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-node-dev",
3-
"version": "1.0.0-pre.20",
3+
"version": "1.0.0-pre.21",
44
"description": "Compiles your TS app and restarts when files are modified.",
55
"keywords": [
66
"restart",

0 commit comments

Comments
 (0)