diff --git a/lib/index.js b/lib/index.js index ee9d6f5..70df752 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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()