File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 97
97
"publishConfig" : {
98
98
"registry" : " https://registry.npmjs.org"
99
99
}
100
- }
100
+ }
Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ export const runDev = (
40
40
// The child_process
41
41
let child :
42
42
| ( ChildProcess & {
43
- stopping ?: boolean
44
- respawn ?: boolean
45
- } )
43
+ stopping ?: boolean
44
+ respawn ?: boolean
45
+ } )
46
46
| undefined
47
47
48
48
const wrapper = resolveMain ( __dirname + '/wrap.js' )
@@ -92,12 +92,12 @@ export const runDev = (
92
92
93
93
log . info (
94
94
'ts-node-dev ver. ' +
95
- version +
96
- ' (using ts-node ver. ' +
97
- tsNodeVersion +
98
- ', typescript ver. ' +
99
- tsVersion +
100
- ')'
95
+ version +
96
+ ' (using ts-node ver. ' +
97
+ tsNodeVersion +
98
+ ', typescript ver. ' +
99
+ tsVersion +
100
+ ')'
101
101
)
102
102
103
103
/**
@@ -250,7 +250,8 @@ export const runDev = (
250
250
const result = vm . runInNewContext ( code , {
251
251
require : require ( "esm" ) ( module ) ,
252
252
module,
253
- console
253
+ console,
254
+ process
254
255
} ) ;
255
256
if ( ! result ) {
256
257
notify ( 'FileChangeHook' , 'Hook exit code: 0.' )
You can’t perform that action at this time.
0 commit comments