Permalink
Browse files

fix react-native-cli bugs

  • Loading branch information...
1 parent 1b0abf1 commit d1fa1a5da0f72407e49a4734385be6dd8faf5949 @soliury committed Apr 19, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 gulpFile.coffee
View
@@ -25,8 +25,8 @@ gulp.task 'replace', ->
gulp.task 'package', (cb)->
- cmd = "react-native"
- start = child_process.spawn cmd, ['start', '--port', port]
+ cmd = "node"
+ start = child_process.spawn cmd, ['node_modules/react-native/local-cli/cli.js', 'start', '--port', port]
start.stdout.on 'data', (data)->
gutil.log data.toString()
start.stderr.on 'data', (data)->

0 comments on commit d1fa1a5

Please sign in to comment.