load .env file on watch (#1)

This commit is contained in:
hzrd149
2025-04-04 20:07:13 +01:00
committed by GitHub
parent df150a0a75
commit 0a43d9e01e
2 changed files with 9 additions and 2 deletions

View File

@@ -9,4 +9,4 @@ pyyaml>=6.0.1
# Development dependencies
pytest>=7.4.0
black>=23.7.0
flake8>=6.1.0
flake8>=6.1.0

View File

@@ -1,7 +1,14 @@
#!/bin/bash
# Load environment variables from .env file
if [ -f .env ]; then
source .env
else
echo "Warning: .env file not found"
fi
# Activate virtual environment
source vibenv/bin/activate
# Run the watch script
python src/watch_voice_memos.py
python src/watch_voice_memos.py