Skip to content

Run on new file created #49

@Dynalon

Description

@Dynalon

[Feature request] It would be nice if the watcher would also trigger when new files are created, that would match a specific pattern.

For example:

package.json

"watch": {
    "copy-assets": "assets/**/*"
},
"scripts": {
   "copy-assets": "cp -R assets/ dist/"
}

That way, if new images are dropped into the assets folder, the would match the pattern and the task would re-run top copy the assets into the dist folder. The current behaviour is, that the newly created file is not picket up by the watcher.

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