USGS-VIZLAB / vizlab

Package with utilities for building vizlab pages
Creative Commons Zero v1.0 Universal
25 stars 14 forks source link

add remake dependencies on custom templates #376

Open aappling-usgs opened 6 years ago

aappling-usgs commented 6 years ago

Make it so any file referenced in the template: field gets noted as a dependency in remake.yml

aappling-usgs commented 6 years ago

MW How hard would it be to have remake see changes in our template.mustache files? I keep debugging for too long to just remember that when you just touch a mustache file that the rebuild of the page isn't triggered.

JR good question. I assume the template is within the vizlab package?

MW Well more like the unique templates we create for the specific Viz. Not one of the templates from the vizlab library.

JR odd, yeah, it looks like the other templates that come from vizlab end up as depends in the remake.yaml, but not the custom ones.