From f2af059c65465f32cc2fd3903db2dbd086630e3a Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 31 Oct 2024 11:51:01 -0300 Subject: [PATCH] chore: Add backend installation tasks to VSCode configuration (#4335) * Add separate task for installing backend in VSCode tasks configuration * Add preLaunchTask to launch.json for backend installation --- .vscode/launch.json | 2 ++ .vscode/tasks.json | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 1f66413d183f..1bc163fb5815 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,6 +6,8 @@ "type": "debugpy", "request": "launch", "module": "uvicorn", + "preLaunchTask": "Install Backend", + "args": [ "--factory", "langflow.main:create_app", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 929271b29991..5142610af1f1 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -43,6 +43,12 @@ "label": "Install", "type": "shell", "command": "make install_backend && make install_frontend" + }, + // install backend + { + "label": "Install Backend", + "type": "shell", + "command": "make install_backend" } ] }