mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Watch subtemplates
This commit is contained in:
2
Cakefile
2
Cakefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user