func (s *Site) Update() (changed bool, err error) {
	next, err := Load(s.Dir)
	if err != nil {
		return
	}
	if changed = !s.Equal(&next); changed {
		*s = next
	}
	return
}
// Update rereads the configuration from disk and checks if it has changed, updating if it has
Update rereads the configuration from disk and checks if it has changed, updating if it has
// Update rereads the configuration from disk and checks if it has changed updating if it has
func (s *Site) Update() (changed bool, err error) {
	next, err := Load(s.Dir)
	if err != nil {
		return
	}
	if changed = !s.Equal(&next); changed {
		*s = next
	}
	return
}
func ( s * Site ) Update ( ) ( changed bool , err error ) { next , err := Load ( s . Dir ) if err != nil { return } if changed = ! s . Equal ( & next ) ; changed { * s = next } return }
Update rereads the configuration from disk and checks if it has changed, updating if it has
Update rereads the configuration from disk and checks if it has changed updating if it has