Fix running "insiders" dev build
Summary: Fixed passing parameter for running dev build as "insiders" via env var. It was broken before and it was only possible to pass it via command line. Reviewed By: passy Differential Revision: D26578901 fbshipit-source-id: a579ac5bb6e5527abbe978318bf0c0398f76f1fe
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b3941e70d5
commit
eba9bafb74
@@ -398,7 +398,9 @@ function checkDevServer() {
|
|||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
checkDevServer();
|
checkDevServer();
|
||||||
await generatePluginEntryPoints(argv.channel === 'insiders');
|
await generatePluginEntryPoints(
|
||||||
|
process.env.FLIPPER_RELEASE_CHANNEL === 'insiders',
|
||||||
|
);
|
||||||
await ensurePluginFoldersWatchable();
|
await ensurePluginFoldersWatchable();
|
||||||
const port = await detect(DEFAULT_PORT);
|
const port = await detect(DEFAULT_PORT);
|
||||||
const {app, server} = await startAssetServer(port);
|
const {app, server} = await startAssetServer(port);
|
||||||
|
|||||||
Reference in New Issue
Block a user