You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes is very annoying compile the project just because you change the Dockerfile or a README.
Now the Command is only skipped if the {files} template is used, but sometimes is not possible to use it on the run configurations.
Behavior and configuration changes
Add a configuration to skip the command if the list of files is empty. Example:
Hey @robsonpeixoto , I'm thinking of this for quite a long time. It feels like if you've specified the glob or exclude you definitely want to skip command if files are missing. For pre-commit hook it is {staged_files}, for pre-push it is {push_files}. What do you think if this happens implicitly? I think that's what many people expect as a default behavior without explicit skip option. 🤔
⚡ Summary
Sometimes is very annoying compile the project just because you change the Dockerfile or a README.
Now the Command is only skipped if the
{files}
template is used, but sometimes is not possible to use it on therun
configurations.Behavior and configuration changes
Add a configuration to skip the command if the list of files is empty. Example:
The text was updated successfully, but these errors were encountered: