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

"after" script for build.watch #919

Open
chrisfarms opened this issue Feb 6, 2024 · 0 comments
Open

"after" script for build.watch #919

chrisfarms opened this issue Feb 6, 2024 · 0 comments

Comments

@chrisfarms
Copy link

chrisfarms commented Feb 6, 2024

in #593 an after script config was added that lets you start up a longer running process like a watcher.

this is useful ... but for the "watcher" usecase, I don't actually want it to run after a "normal" ssc build only when I do an ssc build --watch

it would be good if we could also specify the after script in the build.watch section of the ini

[build.watch]
after = "my-customer-watcher"

currently I am working around this by setting an environment variable to tell my watcher script to skip: SKIP_AFTER_SCRIPT=true ssc build ... which is ok, but weird

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant