Skip to content

Commit

Permalink
Fix typos/grammar in vite-node README
Browse files Browse the repository at this point in the history
  • Loading branch information
mkantor authored Sep 7, 2023
1 parent 410bc45 commit 849e651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ await server.close()

Sometimes you might want to inspect the transformed code to investigate issues. You can set environment variable `VITE_NODE_DEBUG_DUMP=true` to let vite-node write the transformed result of each module under `.vite-node/dump`.

If you want to debug by modifying the dumped code, you can change the value of `VITE_NODE_DEBUG_DUMP` to `load` and search for the dumpped files and use them for executing.
If you want to debug by modifying the dumped code, you can change the value of `VITE_NODE_DEBUG_DUMP` to `load` and search for the dumped files and use them for executing.

```bash
VITE_NODE_DEBUG_DUMP=load vite-node example.ts
Expand All @@ -151,7 +151,7 @@ const server = new ViteNodeServer(viteServer, {

### Debug Execution

If the process get stuck, it might because there is a unresolvable circular dependencies, you can set `VITE_NODE_DEBUG_RUNNER=true` to vite-node warn about it.
If the process gets stuck, it might be because there are unresolvable circular dependencies. You can set `VITE_NODE_DEBUG_RUNNER=true` for vite-node to warn about this.

```bash
VITE_NODE_DEBUG_RUNNER=true vite-node example.ts
Expand Down

0 comments on commit 849e651

Please sign in to comment.