Attach instead of start dev server and documentation updates
Summary: ^ Instead of 'start' use 'attach' as it seems closer to what the function actually does. Reviewed By: passy Differential Revision: D36310846 fbshipit-source-id: db90efc6ec3207b1a5a38139a3ba01d2f7d2aebd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
453ec4bd83
commit
582966d139
@@ -13,7 +13,7 @@ import path from 'path';
|
||||
import {startFlipperServer} from './startFlipperServer';
|
||||
import {startServer} from './startServer';
|
||||
import {startSocketServer} from './startSocketServer';
|
||||
import {startDevServer} from './startDevServer';
|
||||
import {attachDevServer} from './attachDevServer';
|
||||
|
||||
import yargs from 'yargs';
|
||||
import open from 'open';
|
||||
@@ -100,7 +100,7 @@ async function start() {
|
||||
await flipperServer.connect();
|
||||
|
||||
if (argv.bundler) {
|
||||
await startDevServer(app, server, socket, rootDir);
|
||||
await attachDevServer(app, server, socket, rootDir);
|
||||
}
|
||||
startSocketServer(flipperServer, socket, companionEnv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user