-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
In a child project, I have a "Basic task" that accepts an argument. From within the child project, I can run:
grunt task:argument
From the "parent" project, I would like to issue a command like:
grunt hub:child:task:argument
but this ends up running the [task, argument] tasks on the child project -> "Task 'argument' not found"
I have found a workaround:
grunt hub:child:'task\:argument'
which ends up running task:argument on the child, but this feels kinda hacky.
Since the 'child' gruntfile is never loaded by grunt-hub, it does not seem feasible to check whether the task exists beforehand - so what is the best option here? A character other than ":"? Perhaps even just documenting this workaround?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels