-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Description
When updating data files, the changes should be applied immediately.
Expected behaviour
When updating data files, the changes should be applied immediately.
Actual behaviour
New data is not returned until after restarting Dev Proxy.
Steps to reproduce
- Create config file configured with CRUD API plugin.
- Create CRUD API file and configure data file.
- Start Dev Proxy
- Update data file
Dev Proxy Version
v1.1.0
Operating system (environment)
macOS
Shell
zsh
Configuration file
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.1.0/rc.schema.json",
"plugins": [
{
"name": "LatencyPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "latencyPlugin"
},
{
"name": "CrudApiPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "testsApi"
},
{
"name": "CrudApiPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "refinersApi"
}
],
"urlsToWatch": [
"https://api.axo.com/*"
],
"latencyPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.1.0/latencyplugin.schema.json",
"minMs": 200,
"maxMs": 500
},
"testsApi": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.1.0/crudapiplugin.schema.json",
"apiFile": "tests-api.json"
},
"refinersApi": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.1.0/crudapiplugin.schema.json",
"apiFile": "refiners-api.json"
}
}
Additional Info
No response