def server
      require 'middleman-core'
      require 'middleman-core/preview_server'

      unless ENV['MM_ROOT']
        puts '== Could not find a Middleman project config.rb'
        exit
      end

      params = {
        debug: options['verbose'],
        instrumenting: options['instrument'],
        reload_paths: options['reload_paths'],
        daemon: options['daemon']
      }

      puts '== The Middleman is loading'
      ::Middleman::PreviewServer.start(params, options)
    end
def server
      require 'middleman-core'
      require 'middleman-core/preview_server'

      unless ENV['MM_ROOT']
        puts '== Could not find a Middleman project config.rb'
        exit
      end

      params = {
        debug: options['verbose'],
        instrumenting: options['instrument'],
        reload_paths: options['reload_paths'],
        daemon: options['daemon']
      }

      puts '== The Middleman is loading'
      ::Middleman::PreviewServer.start(params, options)
    end
Start the server