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 · 2 comments
Open

Feat: Hot Reload on Markdown changes #485

comp615 opened this issue Sep 25, 2024 · 2 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!

@pboeder
Copy link

pboeder commented Nov 7, 2024

@comp615 , we have a solution for this in our fork. I have it on my list to provide a PR in this upstream repo 👍

porscheofficial@a76a512

@mathiasschopmans
Copy link
Contributor

Awesome @pboeder <3

I plan to merge the features back to the aoe_technology_radar. Christmas may have come early this year. 🎁 🎄

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

3 participants