-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates the debug command to type check before executing the run entry. If the check fails the debug will not continue. This unfortunately breaks the TSX `watch` function and the debugger now has to be manually restarted when code is changed. I've been unable to find a solution to this. While not ideal, an alternative is to only type-check on build and leave debug using TSX directly, like we were. Let me know if you'd rather go that way and get your `watch` back. ---------------- Also includes possible fixes (bbf56f7) for the two type errors that are currently holding back debug builds. I say possible because - I've only solved the issues with the current types and have no idea if the types are actually correct - Have only resolved the type errors within the IDE/TSC and have not actually tested in game They need to be reviewed.
- Loading branch information
Showing
5 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"strict": false, | ||
"noEmit": true | ||
}, | ||
"exclude": ["./types/**/*"] | ||
} |