You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the configuration reference section, there is an example provided for customizing the port based on the command. However, I believe there's a small error in the code snippet provided.
Currently, the documentation states:
{
// Example: Use the function syntax to customize based on command
server: (command) => ({ port: command === 'dev' ? 3000 : 4000 })
}
I believe it should be the following, which works for me:
{
// Example: Use the function syntax to customize based on command
server: ({command}) => ({ port: command === 'dev' ? 3000 : 4000 })
}
It' s a small detail, but I believe it's worth addressing to ensure clarity and accuracy in the documentation.
The text was updated successfully, but these errors were encountered:
Thank you for asking @Yan-Thomas. I have addressed the issue and created a PR withastro/astro#7436. However some tests have failed. I have also encounter test failure immediately after forking and cloning the repo locally.
I would appreciate your guidance on how to proceed to ensure the tests pass successfully. Please let me know if there are any additional steps or adjustments I can make to resolve the test failures and ensure the smooth integration of the fix.
In the configuration reference section, there is an example provided for customizing the port based on the command. However, I believe there's a small error in the code snippet provided.
Currently, the documentation states:
I believe it should be the following, which works for me:
It' s a small detail, but I believe it's worth addressing to ensure clarity and accuracy in the documentation.
The text was updated successfully, but these errors were encountered: