Closed nicobeemstergasunie closed 5 days ago
@nicobeemstergasunie thanks for the bug report. This is a strange one... I have to dive into this problem a bit more. I recently built functionality for HttPlaceholder to use file watchers, it seems this is causing the issue somehow on Windows. Can you try disabling the file watcher and see if it works then? https://github.com/dukeofharen/httplaceholder/blob/master/docs/docs.md#disable-file-watcher
Thanks for the quick reply. Disabling the file watcher indeed works!
Apparently there was a bug in initializing the FileWatcher class. Initializing the class with settings in another order fixes the problem apparently. A fix will be coming soon.
A new release has been pushed which contains this fix: https://github.com/dukeofharen/httplaceholder/releases/tag/v2024.9.7.8
Bug Report
HttPlaceholder version:
2024.2.24.160
Current behavior:
When starting HttPlaceholder in a folder with stubs defined in yaml-files, a System.IO.FileNotFoundException is thrown.
Log:
Expected behavior:
HttPlaceholder should start successfully and load the stubs defined in the directory.
Steps to reproduce:
Other information:
Running HttPlaceholder from an empty folder (not containing any stubs) and manually importing the stubs does work.
OS
.NET versions