hermione/8.9.0
·
109 commits
to master
since this release
🚀 Improvements
- add ability to specify dev server in config file (#909)
Usage example
// .hermione.conf.ts
const SERVER_PORT = 3000;
...
module.exports = {
...
devServer: {
command: "npm run server:dev",
env: {PORT: SERVER_PORT},
readinessProbe: {
url: `http://localhost:${SERVER_PORT}/health`
}
}
}
Creates dev server with command "npm run server:dev", pass PORT
env variable and wait until its ready to receive network requests
Command could also be "node some/file.js
" or something else.