Skip to content

Commit

Permalink
add caveat about liveDev and bins/worker scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 7, 2024
1 parent a8f4ed2 commit 89a8092
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,12 @@ your code. For this reason:
- Because it links files into place, a rebuild _is_ required when
a file is added or removed.
**Note**: If a package uses Node.js `Worker` scripts or bins that
are written in TS and need to be compiled, then `liveDev` will
not work, and should not be used. Additionally, any dependencies
of those modules also cannot use `liveDev`, unless a loader such
as `tsx` is used when run.
See also: "Loading from Source", below.
### Package `#imports`
Expand Down

0 comments on commit 89a8092

Please sign in to comment.