Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
Move cache out of .next folder. Related to #346
Browse files Browse the repository at this point in the history
  • Loading branch information
elmasse committed Feb 12, 2022
1 parent dc12d74 commit d3554a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Moved cache out of .next directory. [#346](https://github.com/elmasse/nextein/issues/346)

## [4.0.3] - 2022-01-31
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/entries/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const readFile = promisify(readFileFS)

// We use a CACHE FILE since getStaticPaths runs either in a Worker or a ChildProcess.
// A memoru cache is completely useless in those cases and I honestly ran out of ideas on how to solve this.
export const CACHE_FILE_PATH = resolve(process.cwd(), '.next', 'nextein_ipc.cache')
export const CACHE_FILE_PATH = resolve(process.cwd(), '.nextein', 'nextein_ipc.cache')

export default () => {
const watcher = chokidar.watch([CACHE_FILE_PATH])
Expand Down

0 comments on commit d3554a7

Please sign in to comment.