This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The idea here is to make sure that ShipIt process that copies the updated app exits | |
// before we launch the new version. The code below checks if the update is still in progress, | |
// which means that we are running the old app still, it keeps checking until ShipIt exits and restarts | |
// the app hoping that a new version will start up at that time. | |
// | |
// "find-process": "~1.2.1", | |
import findProcess from 'find-process'; | |
const BUNDLE_NAME = 'com.myorganization.bundleName'; | |
const SHIP_IT_BINARY = 'ShipIt'; |
OlderNewer