rn: always reset the transform cache when starting the packager

It can help catch very weird bugs which are only triggered after a reset.
This commit is contained in:
Saúl Ibarra Corretgé
2020-08-10 11:50:31 +02:00
committed by Saúl Ibarra Corretgé
parent 5cf9a76f9e
commit 5b1f852783
4 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
exec ${THIS_DIR}/../../node_modules/react-native/scripts/launchPackager.command --reset-cache