Replace dev assets watcher with cross-platform one (#2553)

This commit is contained in:
nixxquality 2024-04-08 13:58:45 +02:00 committed by GitHub
parent cb11b26cdc
commit 1cac107402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,