Hugo Server Slow start with Browsersync

Hi everyone,

Is it normal for hugo server to take 2 to 7minutes starting?

It builds in less than a sec, but the start server task takes longer on other computers (7min on a windows workstation).

[15:39:29] Finished 'hugo' after 4.65 s
[15:39:29] Starting 'server'...
[15:41:40] Finished 'server' after 2.17 min
[Browsersync] Access URLs:
       Local: http://localhost:3000
          UI: http://localhost:3001
 UI External:
[Browsersync] Serving files from: ./dist

I am using the victor-hugo (netilify) base which uses gulp and npm.

I’ve never experienced this, but my guess would be it’s related to Victor Hugo, which, I believe, runs a gulp server with browsersync and the Hugo server simultaneously. Have you considered adding an issue to the GitHub repo?

Thanks for the quick reply. I haven’t done that yet.

You are correct, if i start the server with hugo commands it start in a second.

I’ll add the issue and will update this thread once i find an answer/fix.

1 Like