Download app with rest api is not in realtime?

I wrote a script that automatically do the download and publish thing.
but it happens two times that when I ‘hot-fix’ something and immediately execute my script, after downloading, the code is not updated.

so am I right? after change the code and download them with rest api immediately, the code might not changed?

If you are editing code in the code editor online, after you have clicked save there maybe a short time while the saving is in progress, but other than that the change should be applied immediately.

okay, thanks! that might be the case, our network to playcanvas is kind of unstable…