Skip to content

feat: ability to modify the LD context while dev server is running #521

@wichopy

Description

@wichopy

Is your feature request related to a problem? Please describe.
ld cli has some very useful features such as overriding flags and removing overrides while the dev server is running. Context can be provided at dev-server start. Something that is missing is updating the context while the dev server is running so a developer does not need to restart the server to update the context.

Describe the solution you'd like
Either:

  • a modifyContext command so a developer can set the context with the dev server running
  • a watchContext dev-server flag, so a developer can modify their context file and the dev server automatically picks it up in the following evaluations

Describe alternatives you've considered
overriding the default flag value for a string or number variant, but this makes test set up harder

Additional context

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