Skip to content

Instantly share code, notes, and snippets.

@Visionchen
Created September 11, 2018 08:58
Show Gist options
  • Select an option

  • Save Visionchen/c0909dfe7a35511987c258f7066fc6b6 to your computer and use it in GitHub Desktop.

Select an option

Save Visionchen/c0909dfe7a35511987c258f7066fc6b6 to your computer and use it in GitHub Desktop.
解决运行中断
### 找到目录
```javascript
node_modules\react-native\local-cli\server\server.js
const startedCallback = logReporter => {
logReporter.update({
type: 'initialize_started',
port: args.port,
projectRoots: args.projectRoots,
});
process.on('uncaughtException', error => {
logReporter.update({
type: 'initialize_failed',
port: args.port,
error,
});
//process.exit(11);注释掉当前行
});
};
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment