If the compile cache is enabled, this contains the directory where the compile cache is stored. Only set if status
is module.constants.compileCacheStatus.ENABLED
or module.constants.compileCacheStatus.ALREADY_ENABLED
.
interface
module.default.EnableCompileCacheResult
interface EnableCompileCacheResult
- directory?: string
- message?: string
If Node.js cannot enable the compile cache, this contains the error message. Only set if
status
ismodule.constants.compileCacheStatus.FAILED
.