0.2.1 • Published 4 years ago

polyserve-watch v0.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Polymer Serve with Watcher

screenshot

Let you refresh your application/component when a change is detected.

This tool wraps polymer-serve and browser-sync and make them works together without any configuration.

Usage

$ npm install -g polyserve-watch
$ polyserve-watch

  ____  ______        __
 |  _ \/ ___\ \      / /
 | |_) \___ \\ \ /\ / /
 |  __/ ___) |\ V  V /
 |_|   |____/  \_/\_/

 – Polymer serve with watcher –


» Watching directory: ''
» Creating browser-sync instance…
» Launching polymer serve on port 9090…
» Polymer listening on: http://127.0.0.1:9090
» Starting browser-sync proxying polymer

 ----------------- ʕ•̫͡•ʔ -----------------
✓ Local address:    http://localhost:3000
✓ External address: http://192.168.56.1:3000
✓ UI address:       http://localhost:3001
 ----------------------------------------

» Ready and watching: 4 file(s)
» Open your browser and navigate to the local or external address.

Then, open your browser to the indicated URL (here: localhost:3000) You can exit by pressing CTRL+C

Options

You can set a different polymer port by using the environnement variable PORT. Browser-sync automatically checks if the port is not available and select another one. Eg:

$ PORT=8081 polyserve-watch
...
» Launching polymer serve on port 8081…
» Polymer listening on: http://127.0.0.1:8081
...
0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago