Guirec Corbel

Results 127 comments of Guirec Corbel

Monkey patching? No cleaner way?

Use `Signal.trap("TERM") { exec('touch /tmp/test123') }` seems to works when spring is stopped. I don't know if their can be conflicts.

I think I can you only one `Signal.trap` in the whole app so it's not a good way to go. Monkey Patching does not work because Spring is loaded after...

I agree but I don't know how to do. I have to do something when spring stops so I have to know when it stop and interact with EmberCLI. I...

@grosser, the only think I see is to do a callback function `Spring.after_stop` or `Spring.after_kill`. If you agree, I will do a pull request.

It does not work. Spring::Client is undefined so I required it and it's never triggered.

I did not. Now, it installed it properly. The code is called for each run even if I did not `spring stop`.

Sorry, I was wrong. It seems to work. I have some verifications to do before to close this issue.

I only have two problems but about EmberCLI-Rails. First, EmberCLI[:frontend] is undefined on `spring_preboot.rb`. I suppose all gems are not loaded. The second problem, too linked to EmberCLI-Rails I think,...