1.0.4 • Published 4 years ago

resv v1.0.4

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

resv

A tool made of TypeScript that allows you to check the responsive design of each device at a glance. Start from the command line, monitor files and update automatically.

MIT License Maintainability

Tech

Installation

npm install [-g] [--save-dev] resv

Usage

If index.html you want to display is in the current directory:

resv

If you want to specify the directory where index.html is located:

resv [directory]

or you can specify a URL:

resv [url(e.g. http://localhost)]

If you want to specify a directory to be monitored separately from the directory where index.html is located:

resv -w [watch-directory]

If you want to specify a port number(default: 8080):

resv -p 80

Options

optionsdescription
-w, ---watch-dir directoryThe directory to watch. Defaults the serving directory
-e, --exts extensionsExtensions separated by commas or pipes. Defaults to html,css,sass,scss,js,jsx,tsx,vue,php,rb,go,py
-p, --port portThe port to bind to. Defaults to 8080(default: "8080")
-h, --helpoutput usage information
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago