Skip to content

Environment variable to indicate watch mode #1429

Description

@Rich-Harris

There are often times when it's useful to know, inside a config file, whether Rollup is in --watch mode. An easy way to achieve this would be with a process.env.ROLLUP_WATCH variable.

Ref rollup/rollup-watch#48

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