lukeed / freshie

(WIP) A fresh take on building universal applications with support for pluggable frontends and backends.
MIT License
155 stars 2 forks source link

Dev Server #6

Open lukeed opened 4 years ago

lukeed commented 4 years ago

Build & start the server & client dev-server(s) during development.

Should run both on the same port. The CLI logs/output should be clear without being noisy.

Logic is already in place to force ssr.node attachment during development (unless --no-ssr is provided). If --no-ssr is provided, still need to run a custom http server that wraps sirv, which will provide file-serving with additional ability communicate with client as needed (eg, basic location.reload tasks).

HMR would be nice, but not needed immediately. That'll be its own issue.