mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-03 17:31:58 +03:00
Don't send watch messages from build command.
This commit is contained in:
parent
948e3ebbc7
commit
457aee7067
@ -15,7 +15,9 @@ async function run({ mode, pathname }) {
|
||||
pathname,
|
||||
req,
|
||||
function (patterns) {
|
||||
parentPort.postMessage({ tag: "watch", data: [...patterns] });
|
||||
if (mode === "dev-server") {
|
||||
parentPort.postMessage({ tag: "watch", data: [...patterns] });
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user