Open frederikhors opened 2 weeks ago
I don't know if the reproduction is still needed in cases like this. If yes, I will create one (I'm out of time now unfortunately).
Put yourself in our shoes: how would you begin investigating a report like this? Of course a reproduction is needed. Without one, the best we can hope for is that we're able to create an equivalent reproduction ourselves (we are also not overburdened with time, btw), except without any of the context that you already have (like, the content of directives
). It's not surprising if maintainers become frustrated with these sorts of issues!
Ok, fair. I added the reproduction and the reproduction steps.
Describe the bug
I just figured out what the problem is that causes https://github.com/sveltejs/vite-plugin-svelte/issues/969.
Everything works good until I launch
npm run check
in another console tab during the already startednpm run dev
.The
npm run check
apparently ignores theif (dev) return
in:but not only for itself, it also breaks the current
npm run dev
:Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-bzs49u
Changes from the starter template
I added packages to
package.json:
I changed
svelte.config.js
Steps to reproduce:
pnpm install && pnpm dedupe
npm run dev
npm run check
(in another new tab)System Info
Severity
serious, but I can work around it
Additional Information
A small note:
I opened https://github.com/sveltejs/vite-plugin-svelte/issues/969 because I had the problem right after the (only) update from
vite-plugin-svelte@3
tovite-plugin-svelte@4.0.0-next.6
. Nothing else changed.I'm not a high-quality developer, I'm trying to learn day by day and I'm passionate about quality projects like Svelte.
As you can see, I contributed in my own small way to suggesting bugs and to be a beta tester for all the preview versions that come out, both of Svelte and Kit.
I've ALWAYS been polite with EVERYONE, ALWAYS.
Maybe I opened an extra superfluous issue? Yes, maybe. But as soon as I understood the problem I also closed it and thanked those who helped me (and I must say that almost everyone has always been welcoming, warm and kind, starting with Rich).
That "ALMOST" because sometimes, even in the warmest and most welcoming communities in the OSS world, there is someone who responds badly, rudely and who perhaps needs a few days of vacation: https://github.com/sveltejs/vite-plugin-svelte/issues/970.
There are some really bad people in the world to blame, not someone who is trying to help solve a problem on a project, to the best of their ability.