Skip to content

Add a flag to enable/disable reload mock config automatically #409

Open
@LinuxSuRen

Description

@LinuxSuRen

The Mock Server can only read the config at the startup stage. Users need to restart it if they modified the config file content.

Solution

Support to watch the changes of the mock config file. And provide a flag to enable or disable this feature. The usage might be:

atest mock --files demo-server.yaml --auto-reload [true|false]

And I prefer setting the flag value --auto-reload to be false.

References

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions