I tried the Zipline WorldClock Sample recently. Wh...
# squarelibraries
a
I tried the Zipline WorldClock Sample recently. When I tried to just make code changes to the server they were reflected on the app even when the app was open. I found this interesting, I thought that zipline would download the js code once when we call
zipline.take
and would cache that till the next call to
zipline.take
. Does the client poll the zipline server? (or some other way the server pushes data to the client like in grpc). Is there a way to ensure that even if the file is changed we don't make changes on the client side if the client is in the middle of a flow using zipline? Consider that the user is in the middle of a payment flow and we make changes to the js file it could it not lead to some unexpected behaviour?
Ahh nvm I think the manifestUrlFlow param controls this.
j
Yeah you can set the policy. Only for development do we want it to reflect your changes instantly.