Skip to content

Commit 64653a6

Browse files
author
Bernt Røskar Brenna
committed
Console output on config reload
1 parent 39113ae commit 64653a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

netmockery/Controllers/EndpointsController.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ public ActionResult EndpointNames()
4545

4646
public ActionResult ReloadConfig()
4747
{
48+
Console.Error.WriteLine("Reloading config");
49+
4850
_endpointCollectionProvider.Reload();
4951
_responseRegistry.Clear();
52+
53+
Console.Error.WriteLine("Config reloaded");
5054
return RedirectToAction("Config");
5155
}
5256

0 commit comments

Comments
 (0)