Skip to content

Commit

Permalink
chore: add tsc watch command
Browse files Browse the repository at this point in the history
the bundler used with vite dev's server isn't doing any type checking, so we have to run tsc in watch mode ourselves
  • Loading branch information
6lr61 committed Sep 19, 2024
1 parent 4c23ff6 commit a75ff6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"watch": "tsc -b tsconfig.app.json -w",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
Expand Down

0 comments on commit a75ff6d

Please sign in to comment.