This repository has been archived on 2023-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
homepage/test

12 lines
172 B
Bash
Executable File

#!/usr/bin/bash
open_browser() {
sleep 1
xdg-open http://localhost:1313
}
hugo server & PID_HUGO=$!
open_browser & PID_BROWSER=$!
wait $PID_HUGO
wait $PID_BROWSER