public function handleRequest(Request $request, Application $app)
    {
        # Rebuild on every request in dev environment
        if ($this->isAutoRebuildMode($app)) {
            $this->rebuildDatabase();

            return;
        }

        if ($this->dbHasNotBeenBuilt()) {
            $this->rebuildDatabase();

            return;
        }

        if ($this->isValidRebuildRequest($request, $app)) {
            $this->rebuildDatabase();
        }
    }