Next.js: `next build` should have a progress indicator similar to `next export`

Created on 7 Jul 2020  路  1Comment  路  Source: vercel/next.js

Feature request

At a minimum, running next build should give the user some sort of feedback on progress being made similar to next export.

Right now, the user is in the dark while we're running getStaticPaths and then getStaticProps for every returned path.

It'd be really cool to show this Jest test runner style, then automatically float long-running pages to the top (to identify bottle necks).

However, we could start with a basic version that just listed % complete and number remaining, plus warnings for any individual paths that are taking more than 10 seconds to execute (to identify hangs).

good first issue story

Most helpful comment

I've submitted a PR for this, with a basic # complete vs number remaining, using the same progress bar as next export.

>All comments

I've submitted a PR for this, with a basic # complete vs number remaining, using the same progress bar as next export.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

knipferrc picture knipferrc  路  3Comments

YarivGilad picture YarivGilad  路  3Comments

kenji4569 picture kenji4569  路  3Comments

havefive picture havefive  路  3Comments

timneutkens picture timneutkens  路  3Comments