firebase / firebase/firebase-tools
Disable firestore.rules file monitor on CI
Open
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
Assessment
This issue has not been assessed yet.