From 30c8bb9e40b13027a8f91ba99c6feb38ace2d199 Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Tue, 8 Jan 2019 10:21:22 +0200 Subject: [PATCH] Explicitly specify port in 'npm start' script --- README.md | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 17e6925..9971444 100644 --- a/README.md +++ b/README.md @@ -92,11 +92,11 @@ To use the Material theme, import the correspondent file from the `theme/materia `vaadin-button.html` -## Running demos and tests in browser +## Running demos and tests in a browser 1. Fork the `vaadin-button` repository and clone it locally. -1. Make sure you have [npm](https://www.npmjs.com/) installed. +1. Make sure you have [npm](https://www.npmjs.com/) and [Bower](https://bower.io) installed. 1. When in the `vaadin-button` directory, run `npm install` and then `bower install` to install dependencies. @@ -104,8 +104,8 @@ To use the Material theme, import the correspondent file from the `theme/materia 1. You can also open demo or in-browser tests by adding **demo** or **test** to the URL, for example: - - http://127.0.0.1:8080/components/vaadin-button/demo - - http://127.0.0.1:8080/components/vaadin-button/test + - http://127.0.0.1:3000/components/vaadin-button/demo + - http://127.0.0.1:3000/components/vaadin-button/test ## Running tests from the command line diff --git a/package.json b/package.json index b42342e..ac467a8 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "scripts": { "test": "wct", "prestart": "polymer analyze vaadin-* > analysis.json", - "start": "polymer serve --open", + "start": "polymer serve --port 3000 --open", "preversion": "gulp version:update" }, "devDependencies": {