From 53d71ea18363ad515813db84def51629ead9c488 Mon Sep 17 00:00:00 2001 From: gcch Date: Thu, 30 Apr 2026 10:56:01 +0200 Subject: [PATCH] =?UTF-8?q?ref(justfile)=20utilise=20watchexec=20pour=20la?= =?UTF-8?q?=20t=C3=A2che=20de=20compilation=20JS=20=C3=A0=20la=20m=C3=A0j?= =?UTF-8?q?=20des=20fichiers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- justfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/justfile b/justfile index c9fe13a2..5ee66b34 100755 --- a/justfile +++ b/justfile @@ -90,6 +90,11 @@ watch-css: build-js: aube x vite build --config "cfg/vite.config.ts" +# Compile TypeScript à chaque changement de fichier. +[group('js')] +watch-js: + @watchexec -w "web/app/themes/haiku-atelier-2024/src/scripts" -w "web/app/themes/haiku-atelier-2024/src/scripts-effect" -- just build-js treefmt + # Compile tout. [group('css')] [group('js')] @@ -98,11 +103,6 @@ build-all: @just build-js @just format -# Compile TypeScript à chaque changement de fichier. -[group('js')] -watch-js: - aube x vite build --config "cfg/vite.config.ts" --watch - # Vérifie le code TypeScript avec des analyseurs statiques. [group('js')] [group('qualité')]