Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an on-disk cache #63

Merged
merged 13 commits into from Aug 3, 2023
Merged

Add an on-disk cache #63

merged 13 commits into from Aug 3, 2023

Conversation

danvk
Copy link
Owner

@danvk danvk commented Aug 1, 2023

Verifying chapter 1 of Effective TypeScript, uncached:

✓ All 60 samples passed!
✨  Done in 13.76s.

Verifying cached:

✓ All 60 samples passed!
✨  Done in 0.24s.

:sparkles: indeed!

This adds a --nocache flag to bypass the cache, which is set to live in /tmp/literate-ts-cache with this PR (this will change in #64).

Fixes #62
Fixes #55

@danvk danvk marked this pull request as ready for review August 3, 2023 21:02
@danvk danvk merged commit 1774a2f into master Aug 3, 2023
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an on-disk cache for sample results Improve error message when replacement does not match code sample
1 participant