You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/options.md
+2
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ _Environment variables, where available, are in `ALL_CAPS`_
49
49
-`-r, --require [path]` Require a node module before execution
50
50
-`--cwd` Behave as if invoked in this working directory <br/>*Default:*`process.cwd()`<br/>*Environment:*`TS_NODE_CWD`
51
51
-`--emit` Emit output files into `.ts-node` directory <br/>*Default:*`false` <br/>*Environment:*`TS_NODE_EMIT`
52
+
-`--scope` Scope compiler to files within `scopeDir`. Anything outside this directory is ignored. <br/>*Default: `false` <br/>*Environment:*`TS_NODE_SCOPE`
53
+
-`--scopeDir` Directory within which compiler is limited when `scope` is enabled. <br/>*Default:* First of: `tsconfig.json` "rootDir" if specified, directory containing `tsconfig.json`, or cwd if no `tsconfig.json` is loaded.<br/>*Environment:*`TS_NODE_SCOPE_DIR`
52
54
-`TS_NODE_HISTORY` Path to history file for REPL <br/>*Default:*`~/.ts_node_repl_history`<br/>
0 commit comments