mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
Feature/watch symlinks
Summary: see #9009 cc bestander Closes https://github.com/facebook/react-native/pull/9176 Differential Revision: D3662018 Pulled By: bestander fbshipit-source-id: a4c03e69e5215377b1edac940f0254a0fd429258
This commit is contained in:
parent
f80b93afd3
commit
59a1311c86
@ -13,16 +13,16 @@ const formatBanner = require('./formatBanner');
|
||||
const path = require('path');
|
||||
const runServer = require('./runServer');
|
||||
const findSymlinksPaths = require('./findSymlinksPaths');
|
||||
const NODE_MODULES = path.resolve(__dirname, '..', '..', '..');
|
||||
|
||||
/**
|
||||
* Starts the React Native Packager Server.
|
||||
*/
|
||||
function server(argv, config, args) {
|
||||
// Disabled temporarily to fix trunk
|
||||
// args.projectRoots = args.projectRoots.concat(
|
||||
// args.root,
|
||||
// findSymlinksPaths(path.resolve(process.cwd(), 'node_modules'))
|
||||
// );
|
||||
args.projectRoots = args.projectRoots.concat(
|
||||
args.root,
|
||||
findSymlinksPaths(NODE_MODULES)
|
||||
);
|
||||
|
||||
console.log(formatBanner(
|
||||
'Running packager on port ' + args.port + '.\n\n' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user