You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/11/06 22:20:01 UTC
docs commit: Fixing gulpfile defaults and README text about it.
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 <dm...@gmail.com>
Authored: Fri Nov 6 13:19:56 2015 -0800
Committer: Dmitry Blotsky <dm...@gmail.com>
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