LunaMinds / code-cafe

Ad-hoc meetups for social programming
http://CodeCafe.io
6 stars 2 forks source link

chore (server) Separate dev and production server (#21) #22

Closed metasean closed 7 years ago

metasean commented 7 years ago

...again

Experimenting with heroku. Maybe adding a postinstall will help.

Yarn was out of sync with package.json, so the yarn file has been reconstructed.

The server was listening on the localhost hostname, which caused many much issues with incoming web requests from not localhost. #resolved.

The start script now runs a node script.

...again

Experimenting with heroku. Maybe adding a postinstall will help.

Yarn was out of sync with package.json, so the yarn file has been reconstructed.

The server was listening on the localhost hostname, which caused many much issues with incoming web requests from not localhost. #resolved.

The start script now runs a node script.

Previously, it was serving off the webpack hot-reloading dev server. Now it has its own dedicated express file serving the static assets. Fixes