Closed NullVoxPopuli closed 2 weeks ago
The paths in _files
are not correct when comparing to the TutorialKit's src/templates
directory. With following change the reloading starts to work correctly as correct files are now being modified:
src/content/tutorial
└── 1-basics/1-introduction/1-welcome
├── _files
- │ └── templates
- │ ├── application.gts
- │ └── example.js
+ │ └── app
+ │ └── templates
+ │ ├── application.gts
+ │ └── example.js
├── _solution
- │ └── templates
- │ └── application.gts
+ │ └── app
+ │ └── templates
+ │ └── application.gts
└── content.md
Ah of course! Can't believe i missed that. Thank you!
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
Expected behavior
When I type in the editor, changes are reflected
Screenshots
n/a
Platform
Additional context
Does something special need to happen with the server.watch config?