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.
尝试:
iex -S mix run -e "DribbbleGif.main"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.