correct restart on file change