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.
|
#!/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
|