Skip to content

How to reload config file #145

@nvcken

Description

@nvcken

Example code

 nconf.argv()
    .env()
    .file('configdev', 'configdev.json')

After server start a month , I edit configdev.json then how can I make nconf reload configdev.json without restart server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions