Explicitly return nil.

This commit is contained in:
Jacob Hoffman-Andrews 2016-03-14 17:16:28 -07:00
parent 9b9b09d35d
commit 6bb37c56be
1 changed files with 1 additions and 1 deletions

View File

@ -69,5 +69,5 @@ func New(filename string, callback func([]byte, error) error) (*Reloader, error)
return nil, err
}
go loop()
return &Reloader{stopChan}, err
return &Reloader{stopChan}, nil
}