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

Feat: Hot Reload on Markdown changes #485

Open
comp615 opened this issue Sep 25, 2024 · 0 comments
Open

Feat: Hot Reload on Markdown changes #485

comp615 opened this issue Sep 25, 2024 · 0 comments

Comments

@comp615
Copy link

comp615 commented Sep 25, 2024

It would be nice if as someone is editing, or adding markdown files, the Next.JS server Hot reloaded. Currently, this does not work because the actual data files are statically generated inside bin/techradar.

However, it would be great if something like chokidar or watchman could be used to listen for *.md changes, and rerun npm run build:data. Doing this manually seems to cause the change to be picked up and the page to reload instantly!

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

No branches or pull requests

1 participant