Just dropping this idea here for the future. I think that the
frontity dev command should allow the developer to pass a key and a certificate to be used when loading the site over
npm run dev --https --key localhost-key.pem --cert localhost.pem
Implement the CLI options from the example above.