GeezerVison is showing github.com — doc: fix module compile cache description · nodejs/node@80e5150
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/module.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -182,7 +182,7 @@ directory will be recreated the next time the same directory is used for for com |
182 | 182 | storage. To avoid filling up the disk with stale cache, it is recommended to use a directory |
183 | 183 | under the [`os.tmpdir()`][]. If the compile cache is enabled by a call to |
184 | 184 | [`module.enableCompileCache()`][] without specifying the directory, Node.js will use |
185 | | -the [`NODE_DISABLE_COMPILE_CACHE=1`][] environment variable if it's set, or defaults |
| 185 | +the [`NODE_COMPILE_CACHE=dir`][] environment variable if it's set, or defaults |
186 | 186 | to `path.join(os.tmpdir(), 'node-compile-cache')` otherwise. To locate the compile cache |
187 | 187 | directory used by a running Node.js instance, use [`module.getCompileCacheDir()`][]. |
188 | 188 |
|
|