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' +