Skip to content

Disable firestore.rules file monitor on CI #4298

Closed

Description

@erlichmen

On CI systems there is no need to watch the firestore.rules on CI systems and moreover the code watch can fails as docker that runs the flow might not have the watch api on the OS level.

In the specify case for rules file watching, you can tell the system to use pull instead of watch using the environment variable CHOKIDAR_USEPOLLING: "1" but In think that --no-watch flag should be added or better yet if you see CI environment variable don't activate the file watch code.

Activity

  1. yuchenshi commented on Mar 21, 2022

    @yuchenshi
    Member

    I think we can at least fail gracefully if watching files fail, printing a warning instead of terminating the process. Feel free to send us a PR too!

  2. IzaakGough commented on Oct 28, 2026

    @IzaakGough
    Contributor

    Closing as fixed in #11042

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions