mercadona / postoffice

A dispatching service implemented in Elixir. Communicate services or sent api calls to yourself to process anything later
Apache License 2.0
23 stars 7 forks source link

Fix local reload assets #174

Closed lucasyarza closed 1 year ago

lucasyarza commented 1 year ago

Fix this error

app           |[error] Task #PID<0.11490.0> started from PostofficeWeb.Endpoint terminating
app           | ** (stop) :watcher_command_error
app           |     (phoenix 1.6.15) lib/phoenix/endpoint/watcher.ex:55: Phoenix.Endpoint.Watcher.watch/2
app           |     (elixir 1.14.2) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
app           |     (stdlib 4.2) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
app           | Function: &Phoenix.Endpoint.Watcher.watch/2
app           |     Args: ["node", ["node_modules/webpack/bin/webpack.js", "--mode", "development", "--watch-stdin", {:cd, "/app/assets"}]]
app           | [webpack-cli] Error: Unknown option '--watch-stdin'
app           | [webpack-cli] Run 'webpack --help' to see available commands and options