From 1cac107402bf9c2d9fe34460a39be095d6791d44 Mon Sep 17 00:00:00 2001 From: nixxquality Date: Mon, 8 Apr 2024 13:58:45 +0200 Subject: [PATCH] Replace dev assets watcher with cross-platform one (#2553) --- config/dev.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/dev.exs b/config/dev.exs index 5b1b690fb..c11793db8 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -18,7 +18,8 @@ config :livebook, LivebookWeb.Endpoint, debug_errors: true, check_origin: false, watchers: [ - npm: ["run", "watch", cd: Path.expand("../assets", __DIR__)] + # We invoke node rather than an npm task, so that it works on Windows + node: ["build.js", "--watch", cd: Path.expand("../assets", __DIR__)] ] config :livebook,