Verified Commit 2a24d7cb authored by Aral Balkan's avatar Aral Balkan
Browse files

Fixes #229: crash on server restart requests

parent a616555c
......@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [14.6.2] - 2020-08-30
### Fixed
- Regression introduced during wildcard routes refactor where regular process server restart attempt would cause a crash.
## [14.6.1] - 2020-08-29
### Fixed
......
......@@ -1114,7 +1114,7 @@ class Site {
this.eventEmitter.removeAllListeners()
this.log('\n 🐁 ❨site.js❩ Restarting server…\n')
const {commandPath, args} = cli.initialise(process.argv.slice(2))
serve(args)
this.serve(args)
this.log('\n 🐁 ❨site.js❩ Server restarted.\n')
})
......
{
"name": "@small-tech/site.js",
"version": "14.6.1",
"version": "14.6.2",
"description": "Small Web construction set.",
"keywords": [
"web server",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment