allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [1/2] allura git commit: Add guardfile for livereload of frontend changes
Date Tue, 19 Jan 2016 20:41:16 GMT
Repository: allura
Updated Branches:
  refs/heads/master 4787a804f -> b07e55f87


Add guardfile for livereload of frontend changes


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/fef1ed73
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/fef1ed73
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/fef1ed73

Branch: refs/heads/master
Commit: fef1ed732b4147bf40293951aa7a5a4cdfd3657e
Parents: 4787a80
Author: Dave Brondsema <dave@brondsema.net>
Authored: Thu Dec 17 11:31:31 2015 -0500
Committer: Heith Seewald <heiths@gmail.com>
Committed: Tue Jan 19 15:16:01 2016 -0500

----------------------------------------------------------------------
 Guardfile | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/fef1ed73/Guardfile
----------------------------------------------------------------------
diff --git a/Guardfile b/Guardfile
new file mode 100644
index 0000000..81f4fee
--- /dev/null
+++ b/Guardfile
@@ -0,0 +1,13 @@
+# More info at https://github.com/guard/guard#readme
+
+ignore %r{^node_modules/}, %r{^env.*/}, %r{/tests/data/}, %r{.+\.pyc?}, %r{^Allura/docs/},
%r{.+\.log}, %r{.+\.ini}
+
+# For autoreload of your browser, upon html/js/css changes:
+#   Install http://livereload.com/extensions/
+#   gem install guard-livereload
+#   Then run `guard` and enable the page in your browser.
+guard 'livereload' do
+  watch(%r{.+\.js})
+  watch(%r{.+\.css})
+  watch(%r{.+\.html})
+end


Mime
View raw message