Skip to content

Commit

Permalink
chore(npm): adding npm run server as alias to gulp default
Browse files Browse the repository at this point in the history
Fixes #34 #13
  • Loading branch information
alisonmonteiro committed Feb 17, 2017
1 parent 21d62f1 commit 0aed0c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ $ npm run wp:dev
4. Generate your theme based on your compiled files.
5. After all it will open a new tab on your browser running a development server.

To keep working on your WordPress project whithout donwload it everytime, just run:

```
$ npm run serve
```

#### WordPress Deploy

```
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"scripts": {
"postinstall": "bower install",
"serve": "gulp",
"init": "gulp init --name",
"start": "npm install && bower install && npm run init",
"wp": "gulp set-format --name \"wordpress\" && gulp wp-install && gulp wp-build",
Expand Down

0 comments on commit 0aed0c9

Please sign in to comment.