nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.81k stars 154 forks source link

fix: use RPC to get tasks #625

Closed noook closed 4 months ago

noook commented 4 months ago

When used in a regular project, the devtools try to fetch http://localhost:3000/__nuxt_devtools__/client/_nitro/tasks which is wrong (Returns 200 text/html).

This PR makes the switch to use RPC like other features.

Note: This also enabled open in editor feature as RPC provides the task's file path 

noook commented 4 months ago

/cc @Atinux