aboutsummaryrefslogtreecommitdiff
path: root/Guardfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Guardfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Guardfile b/Guardfile
new file mode 100644
index 00000000..97f4a2bf
--- /dev/null
+++ b/Guardfile
@@ -0,0 +1,9 @@
+guard 'shell' do
+ watch(/source\/sass\/(.*)\.s[ac]ss/) {|m| `compass compile` }
+ watch(%r{public/.+\.(js|html)}) {|m| `compass compile` }
+end
+
+guard 'livereload', :api_version => '1.6' do
+ watch(%r{public/.+\.(css)})
+ watch(%r{public/.+\.(js|html)})
+end