nuxi typecheck watch
Hey there ! Is there a way to run nuxi typecheck in watch mode ?
2 Replies
Hi @() => "CodingBill";. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the knowledge sources provided, there doesn't appear to be a built-in watch mode for the
nuxi typecheck
command. The typecheck
command runs vue-tsc
to check types throughout your app, but there's no mention of a watch flag or option in the documentation.
The nuxi typecheck
command is described as:
With only these options available according to the documentation.
If you want to have type checking during development, you can enable it in your nuxt.config.ts
file instead:
This will enable type-checking at build or development time as mentioned in the TypeScript documentation.
Alternatively, you could set up a file watcher using another tool that runs the nuxi typecheck
command when files change, but this isn't a built-in feature of the Nuxt CLI based on the provided knowledge sources.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@180843812204183552> Kapa.ai is still learning and improving, please let me know how I did by reacting below.