···3# Source the Redis setup script
4source ./scripts/setup-redis.sh
500000006# Trap SIGINT and SIGTERM to cleanup on exit
7-trap cleanup_redis SIGINT SIGTERM
89# Run the feed worker dev command
10npm run dev:worker:feeds:inner
···3# Source the Redis setup script
4source ./scripts/setup-redis.sh
56+# Function to handle cleanup
7+cleanup_and_exit() {
8+ echo "Cleaning up Redis..."
9+ cleanup_redis
10+ exit 0
11+}
12+13# Trap SIGINT and SIGTERM to cleanup on exit
14+trap cleanup_and_exit SIGINT SIGTERM
1516# Run the feed worker dev command
17npm run dev:worker:feeds:inner
+8-1
scripts/dev.sh
···3# Source the Postgres setup script
4source ./scripts/setup-postgres.sh
500000006# Trap SIGINT and SIGTERM to cleanup on exit
7-trap cleanup_postgres SIGINT SIGTERM
89# Run the dev command
10npm run dev:app:inner
···3# Source the Postgres setup script
4source ./scripts/setup-postgres.sh
56+# Function to handle cleanup
7+cleanup_and_exit() {
8+ echo "Cleaning up Postgres..."
9+ cleanup_postgres
10+ exit 0
11+}
12+13# Trap SIGINT and SIGTERM to cleanup on exit
14+trap cleanup_and_exit SIGINT SIGTERM
1516# Run the dev command
17npm run dev:app:inner