Revert "Move live reload config to its own function"

This reverts commit 459c0ab80d5bcf69d3bdc2c9a81ccfd593f17775.
3.1.2