Support devtools project settings
Issue Details
Description
Google Chrome added a feature for automatic workspace folders detection. On localhost URLs, Chrome requests /.well-known/appspecific/com.chrome.devtools.json
. This endpoint must serve the following JSON:
{ "workspace": { "root": "/path/to/project/root", "uuid": "6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b" } }
This is kind of useful, but also annoying. Many servers don’t implement this, meaning the request yields 404 Not Found.
The Chrome team also made vite-plugin-devtools-json
. This works well, but I expect most users won’t install a plugin just for this.
Suggested solution
Incorporate this functionality into the Vite dev server by default.
Alternative
Don’t add this functionality.
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Issue Details
Support devtools project settings
Description
Google Chrome added a feature for automatic workspace folders detection. On localhost URLs, Chrome requests /.well-known/appspecific/com.chrome.devtools.json
. This endpoint must serve the following JSON:
{ "workspace": { "root": "/path/to/project/root", "uuid": "6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b" } }
This is kind of useful, but also annoying. Many servers don’t implement this, meaning the request yields 404 Not Found.
The Chrome team also made vite-plugin-devtools-json
. This works well, but I expect most users won’t install a plugin just for this.
Suggested solution
Incorporate this functionality into the Vite dev server by default.
Alternative
Don’t add this functionality.
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.