#!/bin/bash
cd /opt/front-dev
nohup npm run backend > /opt/front-dev/logs/backend.log 2>&1 &
echo $! > /opt/front-dev/backend.pid
echo "Dev backend started with PID $(cat /opt/front-dev/backend.pid)"
