|
|
@ -544,7 +544,7 @@ func (s *Site) ReBuild(events []fsnotify.Event) error { |
|
|
|
// once readResults is finished it will close coordinator and move along
|
|
|
|
<-coordinator |
|
|
|
// allow that routine to finish, then close page & fileconvchan as we've sent
|
|
|
|
// everthing to them we need to.
|
|
|
|
// everything to them we need to.
|
|
|
|
close(pageChan) |
|
|
|
close(fileConvChan) |
|
|
|
|
|
|
@ -553,7 +553,7 @@ func (s *Site) ReBuild(events []fsnotify.Event) error { |
|
|
|
|
|
|
|
s.timerStep("read & convert pages from source") |
|
|
|
|
|
|
|
fmt.Errorf("%s", errs) |
|
|
|
fmt.Errorf("%v", errs) |
|
|
|
|
|
|
|
s.setupPrevNext() |
|
|
|
if err = s.BuildSiteMeta(); err != nil { |
|
|
@ -582,8 +582,6 @@ func (s *Site) ReBuild(events []fsnotify.Event) error { |
|
|
|
} else { |
|
|
|
return err |
|
|
|
} |
|
|
|
|
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (s *Site) Analyze() error { |
|
|
|