fix watch behaviour (if no file)