Enable proxy commands for sync onUpload
Is your feature request related to a problem?
Commands that are run during a sync's onUpload may require git credentials. In a case reported in Slack, the user wants to use private go dependencies during go build. Since this requires gitCredentials and the related proxy had not yet been started,
the command would fail.
Which solution do you suggest? Start command proxying before the initial sync. There may be technical reasons we cannot do this, so if it's not feasible an alternative configuration would be good.
Which alternative solutions exist?
Using devCommand:after:sync sync hooks might be ok, but would only run once instead of after each upload. Another option might be to use run_watch to rebuild on path changes.
Additional context Slack discussion
/kind feature