Programmatically disabling live reloading

#1

Hi,

Is there any way to programmatically disable live reloading?

I’m trying to run Detox tests against my Expo app. Detox will attempt to synchronize “magically” to your device, i.e., wait for animations & network requests to finish, before proceeding with user defined actions.

With Live reloading enabled, the synchronisation feature doesn’t work - it assumes there’s always something going on so waits indefinitely. Detox allows you to ignore certain actions or to disable synchronization altogether, however this is reset on app loading, so there is never a way to programatically turn off sync before we’re already blocked.

I realise this is a problem with Detox/underlying libraries but I was hoping there is the ability to disable live reloading without having to do it manually – shake -> disable.

Thanks!

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.