You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find out how hot-reload for MD files is implemented in contentlayer
Notes
Summary
when contentlayer is run in development mode:
contentlayer config file is read and esbuild watch mode is used to watch for any changes to it
then, config values read from the file are used to generate the output .contentlayer/generated folder, but also, along the way, the content folder starts being watched for any changes using Chokidar
olayway
changed the title
find out how it was implemented in next-contentlayer
How hot-reload for MD files is implemented in next-contentlayerMay 10, 2023
olayway
changed the title
How hot-reload for MD files is implemented in next-contentlayer
How hot-reload for MD files is implemented in Contentlayer
May 12, 2023
@olayway any recommendation on whether we could reuse this in flowershow - note here i think this would be less a "built-in" and more a "howto" to start with.
Acceptance
Notes
Summary
.contentlayer/generated
folder, but also, along the way, the content folder starts being watched for any changes using ChokidarMore info here:
https://github.com/datopian/flowershow/blob/main/site/content/notes/markdown-hot-reload.md
The text was updated successfully, but these errors were encountered: