Skip to content

Commit

Permalink
Feature/watch symlinks
Browse files Browse the repository at this point in the history
Summary:
see #9009

cc bestander
Closes #9176

Differential Revision: D3662018

Pulled By: bestander

fbshipit-source-id: a4c03e69e5215377b1edac940f0254a0fd429258
  • Loading branch information
Kureev Alexey authored and Facebook Github Bot 8 committed Aug 3, 2016
1 parent f80b93a commit 59a1311
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions local-cli/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' +
Expand Down

0 comments on commit 59a1311

Please sign in to comment.