mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-23 22:37:41 +08:00
Replace dev assets watcher with cross-platform one (#2553)
This commit is contained in:
parent
cb11b26cdc
commit
1cac107402
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue