Skip to content

Instantly share code, notes, and snippets.

@awestbro
Created March 12, 2017 21:32
Show Gist options
  • Save awestbro/7d82a523a92194c1f387b0f8cc65049e to your computer and use it in GitHub Desktop.
Save awestbro/7d82a523a92194c1f387b0f8cc65049e to your computer and use it in GitHub Desktop.
config :myproject, Myproject.Endpoint,
http: [port: 4000],
debug_errors: true,
code_reloader: true,
check_origin: false,
watchers: [node: ["node_modules/webpack/bin/webpack.js", "--watch-stdin", "--progress", "--color",
cd: Path.expand("../", __DIR__)]]
@rakr
Copy link

rakr commented Mar 18, 2017

Probably best to use node_modules/.bin/webpack instead of node_modules/webpack/bin/webpack.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment