nuxt / nuxt/content

Update production content when remote source gets updated

Open
#783 22 comments 0 reactions 1 assignee View on GitHub

@farnabaz is already working on this.

Since May 9, 2022.

enhancement pending question v1 v2
Dominant language
TypeScript
Stars
3.7k
Forks
746
Avg merge
1d 16h
Merged PRs (30d)
3

Description

Hello All,

I have been going through the documentation for a few weeks without any success.

We have a scenario where the 'content' folder in production is updated separately from the build (it's fed from a different repo) so that people maintaining the markdown docs don't have access to the build files.

Trouble is that whenever that content is updated, the pods need to be restarted in order for new files / updated files to be available to the frontend.

Is there any way to trigger the reload of the content folder automatically, either by reading changes on the filesystem or as a workaround, as a manual trigger?

Thanks in advance,
Bruno

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.