forked from taaasty/web-static
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGuardfile
25 lines (22 loc) · 887 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
24
25
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
notification :tmux,
display_message: true,
timeout: 5, # in seconds
default_message_format: '%s >> %s',
# the first %s will show the title, the second the message
# Alternately you can also configure *success_message_format*,
# *pending_message_format*, *failed_message_format*
line_separator: ' > ', # since we are single line we need a separator
color_location: 'status-left-bg' # to customize which tmux element will
guard :bundler do
watch('Gemfile')
# Uncomment next line if Gemfile contain `gemspec' command
# watch(/^.+\.gemspec/)
end
#guard :shell, :all_on_start => true do
#watch(/^(app)\/.*\.coffee$/) { |m| `coffeetags -f tags #{m[0]}` }
#end
guard 'ctags-bundler', :src_path => ["app"], emacs: false, arguments: '-R --languages=coffee' do
watch(/^(app)\/.*\.coffee$/)
end