Merge pull request #2577 from FredyC/haul-xplatform

Use haul/bin/cli.js for cross-platform support
This commit is contained in:
Norbert de Langen 2018-01-03 20:39:36 +01:00 committed by Michael Shilman
parent 60246175c4
commit 94c01e2d54

View File

@ -78,7 +78,7 @@ if (!program.skipPackager) {
let cliCommand = 'node node_modules/react-native/local-cli/cli.js start';
if (program.haul) {
const platform = program.platform || 'all';
cliCommand = `node node_modules/.bin/haul start --config ${
cliCommand = `node node_modules/haul/bin/cli.js start --config ${
program.haul
} --platform ${platform}`;
}