EverLayout Bridge is a basic web server which sends layout files to iOS Apps running EverLayout.
You can find more info on EverLayout here
npm install -g ever-layout-bridge
Navigate to your project directory and run
ever-layout-bridge
By default EverLayout Bridge will listen on port 3000
and monitor ./Layouts
for file changes. You can change the port and layout directory by passing arguments.
ever-layout-bridge --port=1234 --dir="my-layouts/"
When the server detects a change in one of your layout files, it will send the data to all connected clients via sockets.
The server also acts as a basic file server for images. The app will look for images in ./Images
by default, and this can also be set with arguments
ever-layout-bridge --images="assets/images"
When the server is running all images can be accessed from the root like so:
http:{your-server-address}/image-name.png