Make livereload wait for the task to complete