mirror of
https://github.com/go-task/task.git
synced 2025-06-17 00:17:51 +02:00
Watch task
This commit is contained in:
@ -36,3 +36,11 @@ type cyclicDepError struct {
|
||||
func (err *cyclicDepError) Error() string {
|
||||
return fmt.Sprintf(`task: Cyclic dependency of task "%s" detected`, err.taskName)
|
||||
}
|
||||
|
||||
type cantWatchNoSourcesError struct {
|
||||
taskName string
|
||||
}
|
||||
|
||||
func (err *cantWatchNoSourcesError) Error() string {
|
||||
return fmt.Sprintf(`task: Can't watch task "%s" because it has no specified sources`, err.taskName)
|
||||
}
|
||||
|
Reference in New Issue
Block a user