Skip to content

Add a Command to Reload a Config File #63

@oneirocosm

Description

@oneirocosm

Currently, UserSettings.loadConfig has a type of sync.Once so the config files only need to be reloaded once. This can be inconvenient if the files need to be re-parsed for updated values in the future.

As discussed here, by making this a pointer to sync.Once, and adding a helper function, it would be possible to reload the configuration when necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions