From 88a92f8f52ce68eae26d473e8091f0032c885c00 Mon Sep 17 00:00:00 2001 From: James Ide Date: Fri, 13 Nov 2015 07:58:35 -0800 Subject: [PATCH] Add back projectRoots option to packager CLI command Summary: Adding this to the CLI again (like: https://github.com/facebook/react-native/commit/8e7cfcd0537ce742618be21aa03e86aedef5f9ac#diff-75e3fc051b7c5100b4681e8a8f62615bL45) Fix #2390 Closes https://github.com/facebook/react-native/pull/4065 Reviewed By: svcscm Differential Revision: D2652032 Pulled By: mkonicek fb-gh-sync-id: 7162983c24f6e08ecc8f7f410e9b756471d88631 --- local-cli/server/server.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/local-cli/server/server.js b/local-cli/server/server.js index d54328973..0648d937c 100644 --- a/local-cli/server/server.js +++ b/local-cli/server/server.js @@ -35,6 +35,10 @@ function _server(argv, config, resolve, reject) { type: 'string', description: 'add another root(s) to be used by the packager in this project', }, { + command: 'projectRoots', + type: 'string', + description: 'override the root(s) to be used by the packager', + },{ command: 'assetRoots', type: 'string', description: 'specify the root directories of app assets'