-
Notifications
You must be signed in to change notification settings - Fork 88
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
sculpin-watch
times out
#66
Comments
It can be configured inside composer.json directly: https://getcomposer.org/doc/06-config.md#process-timeout But then everything that composer does is obeying that. Personally I'm doing this: https://github.com/gamestrafe/thedivision2/blob/master/scripts/run.sh |
Hmm, I haven't experienced any timeout issues when running |
It's because composer has a timeout, the sculpin command directly has not. |
Sorry, yes. I was trying to say that looking at the script, if you're running I've used bash scripts before just to simplify the command which works fine (actually, I still have some on my site - https://github.com/opdavies/oliverdavies.uk/blob/master/scripts/watch.sh), it's just the Composer script way seems cleaner if it didn't have the timeout issue. |
Last night I submitted a PR to Composer that would provide a quick way to stop known long-running scripts from timing out. I'll look into updating this repo to use that approach or something similar (perhaps with wider support for composer versions to start). |
When running
composer sculpin-watch
, the command times out after 5 minutes due to the process timeout.COMPOSER_PROCESS_TIMEOUT=0 composer sculpin-watch
works.Is there a better way of doing this?
The text was updated successfully, but these errors were encountered: