diff --git a/GlitchyEngineHelper/BeefProj.toml b/GlitchyEngineHelper/BeefProj.toml index 34b1d6a..c85ecdd 100644 --- a/GlitchyEngineHelper/BeefProj.toml +++ b/GlitchyEngineHelper/BeefProj.toml @@ -7,7 +7,6 @@ StartupObject = "GlitchyEngineHelper.Program" [Dependencies] corlib = "*" -corlib = "*" DirectX = "*" [Configs.Debug.Win64] diff --git a/bin/BuildTool/Modules/GlitchyEngineHelperModule.cs b/bin/BuildTool/Modules/GlitchyEngineHelperModule.cs index 3128b13..4e01fc1 100644 --- a/bin/BuildTool/Modules/GlitchyEngineHelperModule.cs +++ b/bin/BuildTool/Modules/GlitchyEngineHelperModule.cs @@ -28,4 +28,24 @@ class GlitchyEngineHelperModule : Module return true; } + + protected override List GetWatchedSources(BuildInfo buildInfo) + { + List sources = new(); + + // Watch ScriptGlue-Definitions file by content + sources.Add(new WatchedSource("GlitchyEngineHelper", WatchMode.Metadata) + { + Recursive = true, + ExcludedSubpaths = + [ + ".vs", + "out", + "src", + "BeefProj.toml" + ] + }); + + return sources; + } }