We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Update workspace directory and add file exclusion check in MainProcess
1 parent 320e1b1 commit ae44d1bCopy full SHA for ae44d1b
1 file changed
Core/Compiler/mainprocess.py
@@ -263,6 +263,18 @@ def compile(
263
self.log_message.emit("warning", "Compilation already in progress")
264
return False
265
266
+ # Mettre à jour le workspace si fourni
267
+ if workspace_dir and workspace_dir != self._workspace_dir:
268
+ self._workspace_dir = workspace_dir
269
+
270
+ # Vérifier l'exclusion avant de lancer la compilation
271
+ if file_path and self._workspace_dir:
272
+ if self.should_exclude(file_path):
273
+ self.log_message.emit(
274
+ "warning", f"File excluded by ARK config: {file_path}"
275
+ )
276
+ return False
277
278
# Déterminer le répertoire de travail
279
working_dir = workspace_dir or self._workspace_dir
280
if file_path:
0 commit comments