Skip to content

Issue with File Updates on Dev Server #1562

Closed

Description

@vlamirand

Describe the bug

When using the solid template with the with-tailwindcss option, as provided by the command bun create solid, there are issues with automatic file updates on the dev server. The problem manifests as follows:

Issues Encountered:

  • Automatic page updates only work for some files.
  • For example, after modifying the about page file, the page does not update automatically or upon manual refresh. Changes are visible only after navigating to another page and back.
  • Creating and modifying other files, such as src/routes/api/products.js, does not lead to data updates on the page. Changes take effect only after restarting the dev server.

Example code

https://github.com/vlamirand/Issue-dev

Steps to Reproduce the Bug or Issue

  1. Run bun create solid and select the with-tailwindcss option.
  2. Run bun install and bun dev.
  3. Modify the page file, e.g., src/routes/about.jsx.
  4. Refresh the page in the browser and check if the changes are reflected.
  5. Create a new API file, e.g., src/routes/api/products.js with the following content:
export async function GET({ params }) {
  const products = { id: 1, name: 'rrffff222oo11232323232323' };
  return products;
}
  1. Modify the name value in products.js.
  2. Make a request to the API and check if the value is updated.

Expected behavior

File changes should automatically reflect on the page without the need to restart the dev server.

Platform

  • OS: [Linux (wsl Ubuntu)]
  • Browser: [Chrome]
  • Version:
    Vinxi: v0.3.12
    Bun: v1.1.17

!

On Windows, everything works fine with the same steps: bun install and bun dev.

Activity

  1. transferred this issue fromsolidjs/solidon Jun 27, 2024
  2. doeixd commented on Jun 28, 2024

    @doeixd
    Contributor

    Hello, I cloned your repo and followed your instructions and was unable to reproduce on Windows using bun.

    I tried again with bun on Ubuntu WSL, and I couldn't get it to run at all.

    I suspect this is an issue with your environment or bun.

  3. brenelz commented on Jul 18, 2026

    @brenelz
    Contributor

    Needs a new reproduction if its still an issue

  4. birkskyum commented on Jul 25, 2026

    @birkskyum
    Member

    Closed as a SolidStart v1 bug. If you experience anything like it with SolidStart v2 (currently in RC), feel free to reopen with a fresh reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions