Skip to content

Commit

Permalink
Add npm run dev script that uses nodemon for restarts on content ch…
Browse files Browse the repository at this point in the history
…anges.
  • Loading branch information
zeke committed Jan 30, 2015
1 parent 654fc43 commit dd218de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ To run the app locally:

```sh
npm install
npm start
npm run dev
```

Now you have a server running at at [localhost:5000](http://localhost:5000)
Now you have a server running [nodemon](https://www.npmjs.com/package/nodemon) at [localhost:5000](http://localhost:5000).

## The Build Process

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"postinstall": "npm run build",
"build": "bin/build.sh",
"pretest": "npm run build",
Expand Down Expand Up @@ -44,7 +45,7 @@
"devDependencies": {
"cheerio": "^0.18.0",
"mocha": "^1.21.4",
"nodemon": "^1.2.1",
"nodemon": "^1.3.5",
"supertest": "^0.14.0"
}
}

0 comments on commit dd218de

Please sign in to comment.