While writing this I realized that this really should be part of part_3_workflows.rst, so it'll eventually make it into there. But it's recorded in its unpolished form for now.
19 lines
774 B
Ruby
19 lines
774 B
Ruby
|
|
group :characters do
|
|
guard 'rake', task: :characters do # when triggered, do "rake characters"
|
|
watch %r{src/characters.rb} # a regular expression that matches our file
|
|
watch %r{img/.*} # watch every file inside of our img directory
|
|
watch %r{.*\.xlsx$} # Any excel file, anywhere
|
|
watch %r{.*\.yml} # Any yml file, anywhere (config or layout)
|
|
end
|
|
end
|
|
|
|
group :skills do
|
|
guard 'rake', task: :skills do # when triggered, do "rake skills"
|
|
watch %r{src/skills.rb} # a regular expression that matches our file
|
|
watch %r{img/.*} # watch every file inside of our img directory
|
|
watch %r{.*\.xlsx$} # Any excel file, anywhere
|
|
watch %r{.*\.yml} # Any yml file, anywhere (config or layout)
|
|
end
|
|
end
|