Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Revalidate cache #43

Closed
jerrygreen opened this issue Mar 17, 2020 · 3 comments
Closed

Revalidate cache #43

jerrygreen opened this issue Mar 17, 2020 · 3 comments

Comments

@jerrygreen
Copy link

jerrygreen commented Mar 17, 2020

Currently, the content of mdx files isn't hot reloaded, and you have to restart dev server to apply changes, - it would be more convenient to use if cache was revalidated (maybe updated_at and/or filesize check?)

Though, btw, the tool is just great anyway!

@peduarte
Copy link

Yep, I raised this to Jeff on Twitter a few weeks ago

His reply:

Yep there's an open issue for it. It's a caching issue, you can work around it by removing the Babel cache from the next directory as part of your npm start command

I haven't actually gotten round to doing that yet though, but probably should because I'm getting tired of this manual work 😂

@jescalan
Copy link
Contributor

Yeah I'm sorry - this is a dupe of this issue so I'm going to close, but discussion is welcome there.

If it makes any difference at all, we are currently working on a spiritual successor to this library that I think will make life a lot nicer in many ways. Will have an update on this before the end of the week, which I will certainly put on twitter and can post here too if anyone's interested.

@peduarte
Copy link

@jescalan oh Im really curious now!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants