Skip to content

Dynamic script execution command #89

@flyon

Description

@flyon

I maintain like 30 modules in repo/modules. I need the same thing for all of them: watch the src folder of each module and on a change I would like to specifically build that module.

So something like

test: 'modules/(*)/src'
exec: 'cd $0 && webpack'

Is this possible?

The readme says: "Also it is now possible to obtain a second parameter to define the script which should be run for watching and not watch all possible scripts at once."

It is unclear to me if that is related and what an example of this "second parameter" would be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions