Skip to content
Snippets Groups Projects
Commit c4734b94 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Have 'mfdoc' open the local site when it's ready

parent 24c5e57b
Branches
No related tags found
No related merge requests found
......@@ -29,7 +29,10 @@ opensite() {
echo "Previewing MarlinDocumentation..."
# wait to open the url for about 8s
( sleep 45; opensite ) &
bundle exec jekyll serve --watch --incremental
bundle exec jekyll serve --watch --incremental | {
while IFS= read -r line
do
[[ $line =~ "Server running" ]] && opensite
echo "$line"
done
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment