Watch subtemplates

This commit is contained in:
Geoffrey Booth
2016-12-11 00:13:44 -08:00
parent ec9e559ec0
commit d61d4272ce

View File

@@ -223,7 +223,7 @@ task 'doc:site', 'watch and continually rebuild the documentation for the websit
fs.symlinkSync "v#{majorVersion}/index.html", 'docs/index.html'
catch exception
for target in [indexFile, examplesSourceFolder, sectionsSourceFolder]
for target in [indexFile, versionedSourceFolder, examplesSourceFolder, sectionsSourceFolder]
fs.watch target, interval: 200, renderIndex
log 'watching...' , green