option to add delay between compile and refresh