diff --git a/mise.toml b/mise.toml index d8096d4a..1b6c8143 100644 --- a/mise.toml +++ b/mise.toml @@ -60,10 +60,6 @@ hide = true description = 'Run project tests' run = 'mix test' -[tasks."dev:console"] -description = 'Run the application attached to an IEx console' -run = 'iex -S mix phx.server' - [tasks."dev:readme-preview"] description = 'Preview the README file via a GH flavoured markdown rendered' run = 'gh gfm-preview README.md' diff --git a/scripts/dev/console b/scripts/dev/console new file mode 100755 index 00000000..bd71fba9 --- /dev/null +++ b/scripts/dev/console @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +#MISE description="Run the application attached to an IEx console" + +set -e + +iex -S mix phx.server