Validate in both default and watch tasks