Recompile view when shared files change

This commit is contained in:
Koen Vlaswinkel
2024-02-14 09:46:58 +01:00
parent 70b8ddfa37
commit 1ce652629c

View File

@@ -28,7 +28,7 @@ export function compileViewEsbuild() {
}
export function watchViewEsbuild() {
watch(["src/view/**/*.{ts,tsx}"], compileViewEsbuild);
watch(["src/**/*.{ts,tsx}"], compileViewEsbuild);
}
export function checkViewTypeScript() {
@@ -38,5 +38,5 @@ export function checkViewTypeScript() {
}
export function watchViewCheckTypeScript() {
watch(["src/view/**/*.{ts,tsx}"], checkViewTypeScript);
watch(["src/**/*.{ts,tsx}"], checkViewTypeScript);
}