From 59a1311c86b0a43cebe90b76922fcf20477b7397 Mon Sep 17 00:00:00 2001 From: Kureev Alexey Date: Wed, 3 Aug 2016 03:37:09 -0700 Subject: [PATCH] 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 --- local-cli/server/server.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/local-cli/server/server.js b/local-cli/server/server.js index b5f196e461c74f..65bd4ad7177aeb 100644 --- a/local-cli/server/server.js +++ b/local-cli/server/server.js @@ -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' +