redhataccess / spandx

Develop locally, proxy to prod, browser-sync, and process ESI tags.
GNU General Public License v3.0
22 stars 19 forks source link

Pluggable dev servers #278

Open bennypowers opened 2 years ago

bennypowers commented 2 years ago

Over at RHDS we're using spandx to allow us to develop with our local sources against redhat.com 'in production'.

We do this by proxying certain requests to a local dev server (web-dev-server)

If spandx' browsersync integration was pluggable, could be make do with a single dev server instance, and thus a single command, without need for terminal multiplexers?

relevant code: https://github.com/redhataccess/spandx/blob/34c5a64ce47df7a13b2bc107a4d408d14ee5e181/app/spandx.js#L197-L229

Y THO

some practical issues that came up:

mwcz commented 1 year ago

Sorry I didn't see this sooner. spandx is in full maintenance mode and I don't anticipate adding any new features myself. That said, if you want to give it a go, I'd be happy to review and merge this feature.

I typically prefer the terminal multiplexer approach, because it makes interpreting log output so much easier.