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

pie6k picture pie6k  路  3Comments

DvirSh picture DvirSh  路  3Comments

formula349 picture formula349  路  3Comments

jesselee34 picture jesselee34  路  3Comments

swrdfish picture swrdfish  路  3Comments