Reputation: 453
I want to do auto build like "gulp.js" in Node.js.
$ iex -S mix -e 'DribbbleGif.main'
** (Mix) Cannot implicitly pass flags to default mix task, please invoke instead: mix run
I want to do this in 1 line command.
Because, finally I want to watch file like this.
chokidar **/*.exs **/*.ex -c 'iex -S mix -e 'DribbbleGif.main''
If you have other solution for auto build, please tell me it.
Upvotes: 12
Views: 3276