Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runner: One-off builds #269

Open
g105b opened this issue Nov 24, 2023 · 0 comments
Open

Runner: One-off builds #269

g105b opened this issue Nov 24, 2023 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented Nov 24, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant