Skip to content

feature: Live reload of config.js and dbconfig.js #199

@MattiasSp

Description

@MattiasSp

Description

Having to always restart Origo Server to e g add a table to a search definition in dbconfig.js adds unnecessary service interruptions that are noticable to users.

Proposed solution

Adding a route which triggers a manual reload of the config files.

Alternatives considered

Letting Origo Server watch the config files for changes and reload when necessary. Not sure which way would be preferrable, though I'm guessing this alternative might produce some minor unnecessary overhead as well as adding more dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions