#!/usr/bin/bash

tmp=/tmp/current_build

while [[ -e $tmp ]]; do
    current_build=$(cat $tmp)
    cat $current_build
    sleep 3
done

printf "\n\nDone.\n"
