Skip to content

Nitrogen ignores the --config option #1554

Description

@OskarEichler

Description

The Nitrogen CLI advertises --config, but the parsed path is never passed to the configuration loader. NitroConfig.current always reads ./nitro.json, so invoking Nitrogen from another directory with --config path/to/nitro.json still fails or uses the wrong project configuration.

Expected behavior

The CLI should load the exact file supplied through --config, while preserving ./nitro.json as the default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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