-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve IDX template configuration #91
Conversation
✅ Deploy Preview for astro-new ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
1bb564a
to
c23bf66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the small issue with the onCreate
behaviour, after the successful execution of idx
environment. This is a great improvement, time to deployment was significantly faster as a result of these mods.
Great work @Fryuni
💚
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Holy moly it works! Left a couple of queries but thanks so much for debugging this @Fryuni 🎉
@@ -0,0 +1,4 @@ | |||
{ | |||
"recommendations": [], | |||
"unwantedRecommendations": ["astro-build.astro-vscode"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m assuming this is related to the workaround in the dev.nix
file? Or is it left over from some experiments? (On the surface it seems odd to mark the Astro extension as unwanted.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is! IDX will show the popup recommending to install the Astro extension while it is already being installed. This is to skip that popup. I'd add a comment, but can't have those in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, cool — thank you! This PR and your comment here will serve as our reference for future adventurers 🫡
''; | ||
in '' | ||
# Timeout for the whole bootstrap script | ||
timeout -k 30s 30s ${script} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How long do you think bootstrap will normally take? What’s the likelihood of it exceeding 30 seconds? Would be good to make sure we’re not too close to a regular run time, so we don’t kill a project just because bootstrapping took 32 seconds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @Fryuni! Very happy to get these buttons working again 🥳
Try the template from this branch clicking here: