-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGuardfile
23 lines (20 loc) · 837 Bytes
/
Guardfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'livereload' do
watch(%r{.+\.(css|js|html|php)})
end
# Guard::Compass
#
# You don't need to configure watchers for guard 'compass' declaration as they generated
# from your Compass configuration file. You might need to define the Compass working directory
# and point to the configuration file depending of your project structure.
#
# Available options:
#
# * :workging_directory => Define the Compass working directory, relative to the Guardfile directory
# * :configuration_file => Path to the Compass configuration file, relative to :project_path
#
# Like usual, the Compass configuration path are relative to the :project_path
guard 'compass', :project_path => 'compass', :configuration_file => 'compass/config.rb' do
watch(%r{.+\.s[ac]ss})
end