Skip to content

Refresh the content's database without fully rebuilding the nuxt app. #3756

@iacobucci

Description

@iacobucci

For as i've understood, there currently is no quick way to refresh the sqlite database of the content without rebuilding the app, and many of the modules that it brings.

I am serving the nuxt app from my vps, starting the production server with node .output/server/index.mjs. The nitro preset is "node-server". The vps can do a build of the repository and update the .output directory, but this process is slow. Since the vps can pull the repository updates, and those updates may only contain content updates, i would want to send a command to the server asking it to refresh the sqlite database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions