Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4AC018B0A for ; Fri, 6 Nov 2015 21:20:01 +0000 (UTC) Received: (qmail 5860 invoked by uid 500); 6 Nov 2015 21:20:01 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 5832 invoked by uid 500); 6 Nov 2015 21:20:01 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 5823 invoked by uid 99); 6 Nov 2015 21:20:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2015 21:20:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 70DACE058E; Fri, 6 Nov 2015 21:20:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dblotsky@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: docs commit: Fixing gulpfile defaults and README text about it. Date: Fri, 6 Nov 2015 21:20:01 +0000 (UTC) Repository: cordova-docs Updated Branches: refs/heads/master b0e35dad5 -> d3a29e0d3 Fixing gulpfile defaults and README text about it. Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/d3a29e0d Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/d3a29e0d Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/d3a29e0d Branch: refs/heads/master Commit: d3a29e0d3c36b0aebad00d198f1c3c2da3d9bb55 Parents: b0e35da Author: Dmitry Blotsky Authored: Fri Nov 6 13:19:56 2015 -0800 Committer: Dmitry Blotsky Committed: Fri Nov 6 13:19:56 2015 -0800 ---------------------------------------------------------------------- README.md | 10 +++++++--- gulpfile.js | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d3a29e0d/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index a380888..2b85f46 100644 --- a/README.md +++ b/README.md @@ -89,11 +89,15 @@ Developing To work on the website and see changes live as you save, run: - node_modules/.bin/gulp watch + node_modules/.bin/gulp serve + +That command will build the sute and start a local server. To work on only the website without the docs, add the `--nodocs` flag, as follows: -That command will start a server and watch the source files, regenerating the site and refreshing the browser whenever changes are made. To work on only the website without the docs, add the `--nodocs` flag, as follows: + node_modules/.bin/gulp serve --nodocs - node_modules/.bin/gulp watch --nodocs +Alternatively, to dynamically rebuild the site and refresh the browser _when changes happen_ (again, optionally with the `--nodocs` flag), run: + + node_modules/.bin/gulp watch Deploying ========= http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d3a29e0d/gulpfile.js ---------------------------------------------------------------------- diff --git a/gulpfile.js b/gulpfile.js index 48f921f..b94eac2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -129,7 +129,7 @@ function jekyllBuild(done) { } // tasks -gulp.task("watch", [], function () { +gulp.task("watch", ["serve"], function () { gulp.watch( [ path.join(CSS_SRC_DIR, "**", "*"), --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org