reworked server strategy to work with live reload