No delay in request when loading page via run start
What actually happens?
npm run dev browser takes upwards of 20 seconds for each single request when hitting from localhost:3000
Loading the site at http://example.dev achieves respectable requests of less that 400ms. this is the case regardless of if npm run dev is running or not.
Steps to reproduce
Fresh install of sage 10, on a standard LAMP stack with Docker (php 8.2, mysql, nginx)
Add Acorn with composer require roots/acorn
Configure bud.config.js (adding paths)
Start the watch with npm run dev
It takes less than 400ms to load on my local URL, with or without the
But when i'm on localhost:3000, I'm reaching more than 20s of loading time.
Do you have any clue ?
Thank you
System info
Node v16.20.2
NPM 8.19.4
Same thing is happening with node v20
Docker with php 8.3, nginx and mysql. But the situation is the same with MAMP instead of Docker
Version
10.8.2
What did you expect to happen?
No delay in request when loading page via run start
What actually happens?
npm run dev
browser takes upwards of 20 seconds for each single request when hitting from localhost:3000Loading the site at http://example.dev achieves respectable requests of less that 400ms. this is the case regardless of if
npm run dev
is running or not.Steps to reproduce
composer require roots/acorn
bud.config.js
(adding paths)npm run dev
It takes less than 400ms to load on my local URL, with or without the
But when i'm on localhost:3000, I'm reaching more than 20s of loading time.
Do you have any clue ? Thank you
System info
Node v16.20.2 NPM 8.19.4 Same thing is happening with node v20
Docker with php 8.3, nginx and mysql. But the situation is the same with MAMP instead of Docker
Log output
No response
Please confirm this isn't a support request.
Yes