Fix: tasks in dev mode are not stopped by an error anymore