fix: call the hook at the first call.

This commit is contained in:
Fernandez Ludovic 2019-06-18 01:01:19 +02:00
parent 28e4c55785
commit cd88e2788f

View File

@ -22,6 +22,8 @@ func Dump(acmeFile string, baseConfig *dumper.BaseConfig) error {
}
if baseConfig.Watch {
hook.Exec(baseConfig.Hook)
return watch(acmeFile, baseConfig)
}
return nil