Build all plugins before start
Summary: prepareDefaultPlugins builds all plugins now. We no longer need extra helpers Reviewed By: lblasa Differential Revision: D39308098 fbshipit-source-id: 4f12a0bdbc2afd2b306565fff3494daa630e1a20
This commit is contained in:
committed by
Facebook GitHub Bot
parent
642a3ebf81
commit
f835e07c46
@@ -20,12 +20,7 @@ import http from 'http';
|
||||
import path from 'path';
|
||||
import fs from 'fs-extra';
|
||||
import {hostname} from 'os';
|
||||
import {
|
||||
compileMain,
|
||||
prepareDefaultPlugins,
|
||||
buildHeadlessPlugins,
|
||||
buildServerAddOns,
|
||||
} from './build-utils';
|
||||
import {compileMain, prepareDefaultPlugins} from './build-utils';
|
||||
import Watchman from './watchman';
|
||||
// @ts-ignore no typings for metro
|
||||
import Metro from 'metro';
|
||||
@@ -446,8 +441,6 @@ function checkDevServer() {
|
||||
await prepareDefaultPlugins(
|
||||
process.env.FLIPPER_RELEASE_CHANNEL === 'insiders',
|
||||
);
|
||||
await buildServerAddOns(true);
|
||||
await buildHeadlessPlugins(true);
|
||||
await ensurePluginFoldersWatchable();
|
||||
const port = await detect(DEFAULT_PORT);
|
||||
const {app, server} = await startAssetServer(port);
|
||||
|
||||
Reference in New Issue
Block a user