🐛 Fix site not starting
This commit is contained in:
+5
-1
@@ -27,7 +27,9 @@ class App
|
||||
|
||||
this.setConfig()
|
||||
|
||||
if(this.config.server && !this.config.host)
|
||||
// If host is not specified
|
||||
// Start the site
|
||||
if(!this.config.host)
|
||||
{
|
||||
this.setSite(
|
||||
() =>
|
||||
@@ -43,6 +45,8 @@ class App
|
||||
)
|
||||
}
|
||||
|
||||
// If not started as a server
|
||||
// Start watching files
|
||||
if(!this.config.server)
|
||||
{
|
||||
this.setWatcher()
|
||||
|
||||
Reference in New Issue
Block a user