Fix file watch stopping after error