forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Guardfile
22 lines (19 loc) · 876 Bytes
/
Guardfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$LOAD_PATH << File.dirname(__FILE__)
# whitelist what directories to watch
directories %w(app spec gems/plugins)
# this means that we can't watch files in the root directory
# (like Gemfile, package.json, gulpfile.js, etc). See:
# https://github.com/guard/listen/wiki/Duplicate-directory-errors
# for why we've chosen to whitelist directories
guard :coffeescript, input: 'app/coffeescripts', output: 'public/javascripts/compiled'
guard :coffeescript, input: 'spec/coffeescripts', output: 'spec/javascripts/compiled'
guard :coffeescript, input: 'spec_canvas/coffeescripts', output: 'spec_canvas/javascripts'
guard :ember_templates
guard :js_extensions
guard :jst, input: 'app/views/jst', output: 'public/javascripts/jst'
guard :jstcss, input: 'app/stylesheets/jst'
guard :jsx
guard :styleguide
# these just kick off other watcher processes
guard :brandable_css
guard :gulp