Skip to content

Runner: One-off builds #269

@g105b

Description

@g105b

Now I've switched to the symlink option by default for directories like asset or data, if there are a lot of operations on that directory, it triggers the build again. It would be useful to specify build tasks that are only one-off, to be ran once on a --watch process.

Something like...

{
  "data/**/*": {
    "require": {
      "vendor/bin/sync": ">=1.3.0"
    },
    "execute": {
      "command": "vendor/bin/sync",
      "arguments": ["./asset", "./www/asset", "--symlink"]
    },
    "options": {
       "run-once": true
    }
  }
}

"run-once": true or "repeat": "once". Something like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNon-breaking improvements to existing behaviour

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions