From 89a8092e86e235a2e4632ed5f4fb0a78fc5194b4 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 7 Jun 2024 00:02:08 -0700 Subject: [PATCH] add caveat about liveDev and bins/worker scripts --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4e3e019..8ece655 100644 --- a/README.md +++ b/README.md @@ -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`