static-dev / spike-core

:warning: UNMAINTAINED :warning: A modern static build tool, powered by webpack
https://spike.js.org
Other
58 stars 9 forks source link

Browser sync proxy #261

Closed adamkiss closed 6 years ago

adamkiss commented 6 years ago

I added a Config.server.proxy option for browser-syn, to allow proxy to different server in the background (which then handles serving the spike built files). This option must be string or object with key target, and if is defined, Config.server.server must be set to false.

I added all of this to Joi schema and put the Config.server.server.baseDir setting behind check for existence of server.

adamkiss commented 6 years ago

🎉

jescalan commented 6 years ago

👬