having rolled my sleeves up and debugged my first ruby app, i find
this spurious line:
host = staticmatic.configuration.preview_server_host || ""
not much point in "" as a default, so then it was a case of tracing
where to set staticmatic.configuration.preview_server_host
the docs say "You can put a file called configuration.rb in your
staticmatic project's basedir/src directory"
but follow this for why that doesnt work and the solution:
https://github.com/staticmatic/staticmatic/pull/17