This is the cli package for Aurelia 2.
au dev --scratchdir ./dist/
In order to run HTTP/2 server you need SSL. To generate the certs and keys, you may use this guide.
Then you can start the HTTP/2 server like this:
au dev --scratchdir ./dist/ --usehttp2 true --keypath ./key.pem --certpath ./cert.pem
The HTTP/2 server will automatically push all the files under the root directory when the index.html
file is requested.