A function that registers a file dependency for hot reload during development. When the file changes, the loader will automatically re-run and refresh data on the client without a full page reload.
app/blog/[slug].tsx
fs.readFile or similarEdit this page on GitHub.