-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: Wrangler is updating indefinitely to logs #4482
Comments
instead of project root .wrangler frameworks may be watching the project root .wrangler dir for changes causing an infinite loop of update logs e.g. #4482
Hi @nefeleai! Thanks for reporting this. It looks like Astro is watching the whole .wrangler directory for changes which is unfortunately causing an infinite loop of update logs being written to the file causing more update logs We might have to pick a different directory if this assumption is more widespread than just Astro. We can revisit using project root .wrangler directory in the future if the usage of this directory is clarified |
@nefeleai To use Wrangler with Astro, you'll need to configure Astro to ignore the
|
Re-opening because C3 should really add that config automatically (cc @dario-piotrowicz @jculvey ) |
* rename debug-log-file to reflect non-debug-only behaviour * change default log directory to global config dir instead of project root .wrangler frameworks may be watching the project root .wrangler dir for changes causing an infinite loop of update logs e.g. #4482 * only print log file location if seen error message + update log emoji to 🪵 instead of 🐛 since it's not just a debug log file anymore * print absolute log file path since it's now in the home directory, no longer near the cwd * use console.warn instead of logger.warn so not to have include the *very* visible bright-yellow [WARNING] indicator
@penalosa why was this reopened, I guess this is still an issue? |
+1 to what Dario said, this issue seems to have been resolved with the recent rework of dev commands in full-stack templates. |
This was reopened since it was erroneously closed by an unrelated commit. If it's been fixed in general in C3 happy to close again. |
Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
3.17.0
What version of Node are you using?
21.2.0
What operating system are you using?
Mac
Describe the Bug
I'm creating a new project with astro following the docs here
running this command
After creation i'm running
Preview
https://youtu.be/scxoTM8X07A
The error seems to be related to #4341
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: