Skip to content

Queries not refreshing correctly after code change #14497

@xactlyblue

Description

@xactlyblue

Describe the bug

It seems that remote query refreshing breaks (after one successful query refresh, for whatever reason) after making a code change.

Reproduction

This is the repository with the bug reproduction. The bug occurs if you attempt to add or remove an item (which executes a remote command) after a code change; the first attempt will work but subsequent attempts will not.

To reproduce the bug, go to the todo.remote.ts file and comment/uncomment line 6 to simulate a code change.

Logs

System Info

System:
    OS: Linux 6.14 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
    CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900K
    Memory: 41.83 GB / 62.54 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.4.1 - ~/.nvm/versions/node/v24.4.1/bin/node
    npm: 11.4.2 - ~/.nvm/versions/node/v24.4.1/bin/npm
    pnpm: 9.11.0 - /usr/local/bin/pnpm
    bun: 1.2.19 - /usr/local/bin/bun
  npmPackages:
    @sveltejs/adapter-node: ^5.2.12 => 5.3.2
    @sveltejs/kit: ^2.22.0 => 2.42.2
    @sveltejs/vite-plugin-svelte: ^6.0.0 => 6.2.0
    svelte: ^5.0.0 => 5.39.3
    vite: ^7.0.4 => 7.1.6

Severity

serious, but I can work around it

Additional Information

I couldn't find any information regarding this particular issue so I assumed it's a bug, but it's possible I've just made a naive mistake since I'm relatively new to the web development ecosystem, and if that's the case, I apologize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions