Fix for file watch and auto reload.