replace connect with browsersync, added conditional for dev vs prod builds