Only rebuild UI when files changed

This commit is contained in:
Simon Lübeß
2024-11-06 22:56:25 +01:00
parent df125f4e57
commit d2efc6c5c4
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -2,10 +2,11 @@ FileVersion = 1
[Project]
Name = "EditorUI"
TargetType = "CustomBuild"
TargetType = "BeefLib"
StartupObject = "EditorUI.Program"
[Configs.Debug.Win64]
BuildKind = "StaticLib"
BuildCommandsOnCompile = "IfFilesChanged"
BuildCommandsOnRun = "IfFilesChanged"
PreBuildCmds = ["npm run build"]
@@ -0,0 +1,11 @@
//
// This file exists so that vite build will only happen, if a file in the src-directory changed
//
using System;
namespace EditorUI;
[AlwaysInclude]
struct EditorUIPlaceholder
{
}