The cache is properly created for hidden (.dot) files and directories but these are not copied back after a cache hit since globby's default is to not include them:
|
const files = await globby(`**/*`, { |
|
cwd: localCacheFolder, |
|
}); |
These lines should either be:
const files = await globby(`**/*`, {
cwd: localCacheFolder,
dot: true,
});
Or they should be made configurable.