Prevent error happening from gulp watch