Skip to content

With custom vite config, reloading no longer works #401

@NullVoxPopuli

Description

@NullVoxPopuli

Describe the bug

When I edit a file, I would expect changes to be present in the output, but the vite server logs show no such detected change (in the toggled terminal)

Link to a StackBlitz project which shows the error

https://github.com/NullVoxPopuli/warp-drive-tutorial

Steps to reproduce

  1. clone https://github.com/NullVoxPopuli/warp-drive-tutorial
  2. cd ./warp-drive-tutorial
  3. pnpm install
  4. pnpm start
  5. try typing in either the gts file or the js file
  6. or click "solve" -- the application.gts file contents are replaced, but the server does not detect said change

Expected behavior

When I type in the editor, changes are reflected

Screenshots

n/a

Platform

❯ pnpm ls @tutorialkit/*

dependencies:
@tutorialkit/react 1.1.1

devDependencies:
@tutorialkit/astro 1.1.1
@tutorialkit/theme 1.1.1
@tutorialkit/types 1.1.1
  • OS: macOS 14.7 / Sonoma
  • Browser: Chrome
  • Version: 130

Additional context

Does something special need to happen with the server.watch config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion related to TutorialKit that doesn't require changes in codebase.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions