The theme still got the wp_footer()
, so this isn’t the issue in my case.
I noticed that in console the following is logged on a (failed) hot-reload (after saving source styles):
Failed to load http://localhost:3000/app/themes/the-theme/dist/57efeac3e396fa2f9996.hot-update.json: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.8.101:3000' is therefore not allowed access.
Uncaught (in promise) Error: Manifest request to http://localhost:3000/app/themes/the-theme/dist/57efeac3e396fa2f9996.hot-update.json timed out.
at XMLHttpRequest.request.onreadystatechange (bootstrap 57efeac3e396fa2f9996:38)
@Simeon: I added the
"headers": { "Access-Control-Allow-Origin": "*" },
to config.json
, as top level field. – Am I still missing something here?