tsx 3.5.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/cli.cjs +25 -25
- package/dist/cli.js +25 -25
- package/dist/loader.cjs +1 -1
- package/dist/loader.js +1 -1
- package/dist/package-1ebaba9f.cjs +1 -0
- package/dist/package-5e172dec.js +1 -0
- package/dist/{pkgroll_create-require-890b6873.js → pkgroll_create-require-40666c6a.js} +0 -0
- package/dist/{pkgroll_create-require-6cd0a902.cjs → pkgroll_create-require-db0ba817.cjs} +0 -0
- package/dist/repl.cjs +1 -1
- package/dist/repl.js +1 -1
- package/package.json +2 -1
- package/dist/package-0f4ac2cf.js +0 -1
- package/dist/package-853fb12a.cjs +0 -1
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ tsx ./file.ts
|
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
### Watch mode
|
|
78
|
-
Run file and automatically
|
|
78
|
+
Run file and automatically rerun on changes:
|
|
79
79
|
|
|
80
80
|
```sh
|
|
81
81
|
tsx watch ./file.ts
|
|
@@ -84,7 +84,9 @@ tsx watch ./file.ts
|
|
|
84
84
|
All imported files are watched except from the following directories:
|
|
85
85
|
`node_modules`, `bower_components`, `vendor`, `dist`, and `.*` (hidden directories).
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
#### Tips
|
|
88
|
+
- Press <kbd>Return</kbd> to manually rerun
|
|
89
|
+
- Pass in `--clear-screen=false` to disable clearing the screen on rerun
|
|
88
90
|
|
|
89
91
|
### REPL
|
|
90
92
|
Start a TypeScript REPL by running with no arguments:
|