Permalink
Browse files

Feature/watch symlinks

Summary:
see #9009

cc bestander
Closes #9176

Differential Revision: D3662018

Pulled By: bestander

fbshipit-source-id: a4c03e69e5215377b1edac940f0254a0fd429258
  • Loading branch information...
Kureev Alexey Facebook Github Bot 8
Kureev Alexey authored and Facebook Github Bot 8 committed Aug 3, 2016
1 parent f80b93a commit 59a1311c86b0a43cebe90b76922fcf20477b7397
Showing with 5 additions and 5 deletions.
  1. +5 −5 local-cli/server/server.js
View
@@ -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' +

0 comments on commit 59a1311

Please sign in to comment.