function logEnabled() {
    return config.logLevel !== 'silent';
  }
lite-server : Simple server for angular/SPA projects

Simply loads some default browser-sync config that apply to SPAs,
applies custom config overrides from user's own local `bs-config.{js|json}` file,
and launches browser-sync.