Skip to content

Nodemon.json does not support alternative types as it should for exec, ignore, and watch. #5162

@sangafabrice

Description

@sangafabrice

Area with issue?

JSON Schema

✔️ Expected Behavior

There should be no warning, because:

  • ignore and watch can be strings when the user only have one value to input
  • exec can be an array of strings that are parts of a command line.
Image

❌ Actual Behavior

Image

JSON, YAML, or TOML file that does not work.

nodemon.js schema

IDE or code editor.

Visual Studio Code

Are you making a PR for this?

No, someone else must create the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedissue:bugReport errors or unexpected behavior (auto-generated by issue forms)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions