title: Nuxt Generate Freezes
body: <p>I've been struggling with a Nuxt Generate problem for quite some while. Whenever I add <strong>ssr: true</strong> to nuxt.config and try to generate dynamic routes, the generation freezes. Nuxt generates x amount of routes just how I want them, but is unable to finish the process. No error is given by Nuxt, just stops at some route. My generate setup is as simple as this:</p>
  <pre><code>  generate: {
      crawler: false,
      interval: 150,
      routes () {
        return axios.get(process.env.API_URL + '/events/routes').then(res =&gt; {
          /* 
             API returns an array of event routes:
            ['/organiser/event', '/organiser/event-1']
          */
  
          return res.data
        })
      }
    }
  </code></pre>
  <p>It seems to work as expected when I manually add an array of routes, as follows:</p>
  <pre><code>routes: ['/organiser/event, '/organiser/event-1', '/etc/event']
  </code></pre>
  <p>Any ideas?</p>