firebase / firebase/firebase-tools

Disable firestore.rules file monitor on CI

Open
#4,298 1 comment 0 reactions 0 assignees View on GitHub
emulator-suite help-wanted polish type: feature request
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.