Rest Api Deploy

Hi,

When we’re deploying, we’re using the flag “deploy-changed-only” as true.
The process is very simple but uses a javascript as external resource.

When theres no change in the .bmpn everthing works ok, but when there’s some change, the only file that gets deployed is the .bpmn. The .js is not deployed and for that reason, every time we start that process we get an error.

Is this the expected behaviour when this feature was implemented? If so, it dosn’t make sense, the .js should always be deployed if the .bpm is deployed, theres no point in comparing the .js, cause my procss can’t we an older verson of that .js.

Can you please help us?