From ad29d65cedd47334e05ecc537519c32f432309ba Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 8 Sep 2018 14:55:45 -0400 Subject: [PATCH] Minor thing to make debugging with the host watchdog easier --- src/Tgstation.Server.Host.Watchdog/Watchdog.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs index bc81c91573..9a43ec441d 100644 --- a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs +++ b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs @@ -69,6 +69,9 @@ namespace Tgstation.Server.Host.Watchdog var rootLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); var assemblyStoragePath = Path.Combine(rootLocation, "lib"); //always always next to watchdog +#if DEBUG + Directory.CreateDirectory(assemblyStoragePath); +#endif var defaultAssemblyPath = Path.GetFullPath(Path.Combine(assemblyStoragePath, "Default")); #if DEBUG //just copy the shit where it belongs