nuxt / nuxt/devtools

adding devtools to an application and then removing it, doesn't get removed and application hangs

Open
#794 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.3k
Forks
214
Avg merge
13h 22m
Merged PRs (30d)
18

Description

Environment

Nuxt ^3.6.5

Reproduction

in a medium sized application with heavy usage of pinia stores, add:

devtools: { enabled: true },

to the bottom of your nuxt.config.ts

remove it and it stays in the browser, even when restarted server

Describe the bug

so I have a medium to large size application built in Nuxt ^3.6.5

I recently added:
devtools: { enabled: true },
to the bottom of my nuxt.config.ts

when I had finished looking at my pinia stores, I removed it, restarted npm run dev and it was still there.
I then restarted my Mac and devtools is still there and my application is hanging, page has become unresponsive.

please help

Additional context

No response

Logs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Nuxt ^3.6.5 reproduction using nuxt.config.ts: enable devtools, run npm run dev, remove the setting, and restart the server. Compare whether devtools remains in the browser and whether the application becomes unresponsive. Done means removing the configuration also removes devtools and the application remains responsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.