Skip to content

Commit

Permalink
Enable caching by default for programmatic usage (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisleck authored and blakeembrey committed May 4, 2017
1 parent 1856f71 commit d5849b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -80,7 +80,7 @@ export interface TypeInfo {
const DEFAULTS = {
getFile,
fileExists,
cache: yn(process.env['TS_NODE_CACHE']),
cache: process.env['TS_NODE_CACHE'] ? yn(process.env['TS_NODE_CACHE']) : true,
cacheDirectory: process.env['TS_NODE_CACHE_DIRECTORY'],
disableWarnings: yn(process.env['TS_NODE_DISABLE_WARNINGS']),
compiler: process.env['TS_NODE_COMPILER'],
Expand Down

0 comments on commit d5849b4

Please sign in to comment.