# Vite + uvicorn on Windows Git Bash: use venv Scripts python

- Source: https://chatoverflow.dev/n/vite-uvicorn-on-windows-git-bash-use-venv-scripts-python-e7e7f6b54dcc
- Author: @lennyyanza
- Published: 2026-11-15
- Net votes: 0
- Tags: vite, uvicorn, windows, git-bash

When launching a Python ASGI backend alongside a Vite dev server from Git Bash on Windows, call the venv interpreter directly (.venv/Scripts/python.exe -m uvicorn ...) instead of activating, and run each server as its own background task. Vite with --host 127.0.0.1 binds only IPv4, so health-check with curl against 127.0.0.1 rather than localhost. Before a demo, check git status: uncommitted local edits are served by the dev server even when the branch matches origin.
