Steps to reproduce

1. Install dependencies

yarn

2. Run Nuxt

yarn dev

3. Open your browser

Open http://localhost:3000 in your favorite browser.

This step is mandatory as the app needs to be open in the browser to reproduce the issue.

4. Save plugins/foo.ts

Go in plugins/foo.ts in your favorite editor and save the file to trigger hot reload.

5. Issue

You should ends up with Nuxt crashing with the following error :

image

If it didn't crash, try to spam save the plugin file.