bikehopper / bikehopper-ui

Friendly bike+transit directions (frontend)
Other
26 stars 1 forks source link

TypeScript hides other messages in Vite dev process #347

Closed graue closed 3 months ago

graue commented 4 months ago

When changes are made to a file and Vite hot reloads, the terminal with the Vite dev process should update to show which files were reloaded and any lint warnings.

Since we added TypeScript, on my machine it seems to be clobbering that output most of the time. I don't see lint warnings or a list of changed files, only this by itself:

[TypeScript] Found 0 errors. Watching for file changes.
graue commented 3 months ago

Fix might be to get the same vite plugin to check both TypeScript typing and lint

Or as a temp workaround until we start fully adopting TS, just disable the TS checker in Vite

graue commented 3 months ago

fixed by #356