Skip to content

Commit

Permalink
Replace dev assets watcher with cross-platform one (livebook-dev#2553)
Browse files Browse the repository at this point in the history
  • Loading branch information
nixxquality authored and spunkedy committed Apr 22, 2024
1 parent 2441a9d commit 7707122
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7707122

Please sign in to comment.