@layerart/serve-art

1.1.0 • Public • Published

@layerart/serve-art

A small tool for serving the files in a directory so that they can be displayed in an iframe on another domain and hot reload when a file is updated.

Command line options

  • --port,-p - Set the port for the server, default is 8080.
  • --host,-h - Set the host for the server, default is 0.0.0.0 or 127.0.0.1.
  • --root,-r - Set the root directory for the server, default is cwd.
  • --sandbox,-s - Specify the sandbox url. Default: https://app.layer.com/submissions/generative/sandbox

Usage

npx @layerart/serve-art

Global installation and terminal use

npm i -g @layerart/serve-art
serve-art

Readme

Keywords

none

Package Sidebar

Install

npm i @layerart/serve-art

Weekly Downloads

18

Version

1.1.0

License

MIT

Unpacked Size

4.69 kB

Total Files

4

Last publish

Collaborators

  • layerchris
  • layergilles
  • layer.sam