Fix #7082 Add call to unused method (#7122)

Merge pull request 7122
This commit is contained in:
Alex Wood 2018-07-09 23:06:54 -04:00 committed by jekyllbot
parent a1ea95d445
commit 8846741ed2
1 changed files with 4 additions and 1 deletions

View File

@ -91,7 +91,10 @@ module Jekyll
def process(opts)
opts = configuration_from_options(opts)
destination = opts["destination"]
register_reload_hooks(opts) if opts["livereload"]
if opts["livereload"]
validate_options(opts)
register_reload_hooks(opts)
end
setup(destination)
start_up_webrick(opts, destination)