Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Corrections in README around NPM scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-kobrzak authored and Jacob Walton committed Aug 27, 2015
1 parent bfe0acf commit 674559d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ npm install
```

## Workflow
1. Run `webpack-dev-server` acting as a static content HTTP server with hot
module replacement enabled on port 5000:
1. Run `webpack-dev-server` acting as an asset server with hot module
replacement enabled on port 5000:
>```
>npm run dev-server
>```
Expand All @@ -17,7 +17,10 @@ We have opted for [http-server](https://www.npmjs.com/package/http-server).
>npm start
>```
3. Open http://localhost:5001 in your browser.
3. Open http://localhost:5001 in your browser. If you are on OS X you can run:
>```
>npm run browse
>```
4. Make a change in any of your scripts or stylesheets - you should see these
changes applied in the browser instantaneously.
Expand Down Expand Up @@ -64,3 +67,5 @@ from command line (at least in the current configuration).
```
npm run clean
```
This will remove contents of `dist` and `tmp/coverage/javascript` directories.

0 comments on commit 674559d

Please sign in to comment.