Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
fix(cli): Call link with spawn instead of run (#127)
Browse files Browse the repository at this point in the history
* Fixes hanging issue with CLI
  • Loading branch information
carlinisaacson authored and jamonholmgren committed Dec 6, 2018
1 parent 64340d5 commit 4f9e8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boilerplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ async function install(context) {
spinner.succeed(`Installed dependencies`)

// re-run react-native link
await system.run('react-native link')
await system.spawn('react-native link', { stdio: 'ignore' })
spinner.succeed(`Linked dependencies`)

const perfDuration = parseInt(((new Date()).getTime() - perfStart) / 10) / 100
Expand Down

0 comments on commit 4f9e8cb

Please sign in to comment.