From 0aed0c90616418bc21979d0ffea9ad95908777fc Mon Sep 17 00:00:00 2001 From: Alison Monteiro Date: Fri, 17 Feb 2017 10:24:39 -0300 Subject: [PATCH] chore(npm): adding `npm run server` as alias to `gulp default` Fixes #34 #13 --- README.md | 6 ++++++ package.json | 1 + 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 12ca6ca..b5d5856 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/package.json b/package.json index 8a31667..7dc3019 100644 --- a/package.json +++ b/package.json @@ -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",