Summary: flipper-server-companion depends on flipper-plugin. flipper-plugin includes dependencies that run only in a browser. Splitting flipper-plugin into core and browser packages helps to avoid including browser-only dependencies into flipper-server bundle. As a result, bundle size could be cut in half. Subsequently, RSS usage drops as there is twice as less code to process for V8. Note: it currently breaks external flipper-data-source package. It will be restored in subsequent diffs Reviewed By: lblasa Differential Revision: D38658285 fbshipit-source-id: 751b11fa9f3a2d938ce166687b8310ba8b059dee
flipper-server (TBD)
Stand alone Flipper server as NodeJS process, that uses flipper-server-core for device communication and also provides a webserver to serve flipper-ui.
Flipper-server can be used as background process, for example on CI servers or to power IDE plugins.
Running flipper server
From NPM
TODO:
From source
cd <Flipper checkout>/desktop
yarn install
yarn flipper-server
Production build from source
cd <Flipper checkout>/desktop
yarn install
yarn build:flipper-server
Pass the --open flag to open Flipper server after building
Use --no-rebuild-plugins to speed up subsequent builds if default plugins have been build already