-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Is this a support request?
This is arguably not a bug and a feature instead, please update the status appropriately.
I was under the impression that when the --sync-once flag is present, there would be no communication with launch darkly.
In the original PR, however, CreateProject is still called when --sync-once is present, regardless of if there's a db file present or not. CreateProject will always call refreshExternalState here.
I'm curious if the original intent of --sync-once was to prevent any communication with launch darkly so that I could commit a DB file to source and have that be the source of truth to avoid communicating with LD in CI.
Describe the bug
Calling --sync-once when starting the dev server when a DB file is present still calls launch darkly
To reproduce
Add --sync-once when starting the dev server with a valid DB file.
Expected behavior
I would expect launch darkly APIs not to be called
Logs
If applicable, add any log output related to your problem.
CLI version
Latest
OS/platform
For instance, Ubuntu 16.04, Windows 10, or macOS 14.4.
Additional context
Add any other context about the problem here.