AgilionApps / remix

Automatic recompilation of mix code on file change.
Other
149 stars 26 forks source link

Use `remix` for `iex -S mix`? #14

Closed febeling closed 7 years ago

febeling commented 7 years ago

Is it possible to use remix for the interactive shell iex -S mix, too?

OnorioCatenacci commented 7 years ago

Look at issue #4 It looks like this only works with the interactive shell. So maybe you want to provide us with some detail on what you're seeing that makes you think it's not working?

febeling commented 7 years ago

I've configured it faithfully as in the description. The slient mode is set to false. It still doesn't output compilation activity to the shell console nor picks up changes, e.g. in models in a phoenix project.

OnorioCatenacci commented 7 years ago

What happens if you don't set the silent mode at all--let it go to default, that is?

On Fri, Dec 9, 2016 at 1:37 PM, Florian Ebeling notifications@github.com wrote:

I've configured it faithfully as in the description. The slient mode is set to false. It still doesn't output compilation activity to the shell console.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AgilionApps/remix/issues/14#issuecomment-266087985, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJXFXfX1zJES0lPggnc_D4Ne-VBmiIuks5rGZ_tgaJpZM4LH1kD .

-- Onorio Catenacci

http://onor.io http://www.google.com/+OnorioCatenacci

OnorioCatenacci commented 7 years ago

And you're changing a file somewhere in the lib directory, right?

On Fri, Dec 9, 2016 at 1:40 PM, Onorio Catenacci Catenacci@ieee.org wrote:

What happens if you don't set the silent mode at all--let it go to default, that is?

On Fri, Dec 9, 2016 at 1:37 PM, Florian Ebeling notifications@github.com wrote:

I've configured it faithfully as in the description. The slient mode is set to false. It still doesn't output compilation activity to the shell console.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AgilionApps/remix/issues/14#issuecomment-266087985, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJXFXfX1zJES0lPggnc_D4Ne-VBmiIuks5rGZ_tgaJpZM4LH1kD .

-- Onorio Catenacci

http://onor.io http://www.google.com/+OnorioCatenacci

-- Onorio Catenacci

http://onor.io http://www.google.com/+OnorioCatenacci

febeling commented 7 years ago

The change I make is in web/views/...

febeling commented 7 years ago

Ok, it does pick up the changes in lib...

febeling commented 7 years ago

Sorry. That's all the package description claims to do. Closing. Thanks for the assistance!

OnorioCatenacci commented 7 years ago

Phoenix itself should pick up changes in web/views and automatically rebuild them. I'd consult the Phoenix docs for that if that's what you need. I mean you don't need remix if you're trying to pick up changes in web/views.

On Fri, Dec 9, 2016 at 1:45 PM, Florian Ebeling notifications@github.com wrote:

Ok, it does pick up the changes in lib...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AgilionApps/remix/issues/14#issuecomment-266089895, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJXFXrwWFuEkJcnjdIGj0FXMYW3XKVhks5rGaHWgaJpZM4LH1kD .

-- Onorio Catenacci

http://onor.io http://www.google.com/+OnorioCatenacci

febeling commented 7 years ago

I believe I do, if I want to see that become effective in the iex shell..?

They do get compiled and are working for the web server process, but not loaded for the shell. At least that’s what I see...

OnorioCatenacci commented 7 years ago

Well I guess it depends on what you're trying to get automatically recompiled. I'd take it up with the Phoenix folks; I'd be quite surprised if you need to pull in remix to get what you're trying to get. I say I'd be quite surprised because in a couple of years of working with Elixir this is the first time I've heard anyone ask about remix in relation to Phoenix.

On Fri, Dec 9, 2016 at 1:50 PM, Florian Ebeling notifications@github.com wrote:

I believe I do, if I want to see that become effective in the iex shell..?

The do get compiled and are working for the web server process, but not for the shell. At least that’s what I see...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AgilionApps/remix/issues/14#issuecomment-266090980, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJXFS8NdmARAkzHLiggVh__w1TnEAvUks5rGaLugaJpZM4LH1kD .

-- Onorio Catenacci

http://onor.io http://www.google.com/+OnorioCatenacci

febeling commented 7 years ago

Do you use Phoenix and work with a shell and use models interactively there, while changes are being picked up?