ever-layout-bridge

2.0.1 • Public • Published

EverLayout Bridge

EverLayout Bridge is a basic web server which sends layout files to iOS Apps running EverLayout.

You can find more info on EverLayout here

Installation

npm install -g ever-layout-bridge

Usage

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

/ever-layout-bridge/

    Package Sidebar

    Install

    npm i ever-layout-bridge

    Weekly Downloads

    7

    Version

    2.0.1

    License

    MIT

    Last publish

    Collaborators

    • acrocat