Files
flipper/desktop/flipper-server
Pascal Hartig cfcbc75de9 Take unix domain socket max length into account
Summary: lawrencelomax helpfully pointed out that there's a legacy limit for the path length of unix domain sockets. Checking here and falling back to `/tmp` in case we're going over. This could have caused some gnarly support issues, so I'm glad we caught this before it went live.

Reviewed By: aigoncharov

Differential Revision: D35257794

fbshipit-source-id: 68a7b62d6d6863efa4b3ce84d7735b1c1a45a174
2022-03-31 06:29:21 -07:00
..
2022-03-31 06:29:21 -07:00
2021-12-17 07:36:07 -08:00

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