-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGuardfile
More file actions
32 lines (26 loc) · 777 Bytes
/
Guardfile
File metadata and controls
32 lines (26 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
notification :off
group :development do
if File.exists?("config.rb")
# Compile on start.
puts `compass compile --time --quiet`
# https://github.com/guard/guard-compass
guard :compass do
watch(%r{.+\.s[ac]ss$})
end
end
## Uncomment this if you wish to clear the theme registry every time you
## change one of the relevant theme files.
#guard :shell do
# puts 'Monitoring theme files.'
#
# watch(%r{.+\.info$|^template\.php$|\.((pre)?process|theme)\.inc$|.+\.tpl\.php$}) { |m|
# puts 'Change detected: ' + m[0]
# `drush php-eval "system_rebuild_theme_data();"`
# puts 'Cleared info caches.'
# }
#end
# https://github.com/guard/guard-livereload.
guard :livereload do
watch(%r{.+\.(css|js)$})
end
end