8000 initial approach to have possibility to start own supervisor for diff... by liveforeverx · Pull Request #18 · synrc/fs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

initial approach to have possibility to start own supervisor for diff... #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 7, 2016

Conversation

liveforeverx
Copy link
Contributor

…erent handlers

It is not thought for merge, but the question, why the interface is so inflexible? If you want to change the path, you need to set environment, before starting the fs application (that leads, that on all places, where library is used, developers simply subscribe to cwd, which is default and checking the needed pattern for the path). And, it is not possible to create more, than one.

I think, there should be interface for it, for creating supervisors in own tree.

Simple attemp to add interface with start_link/4 (which get 3 names and path and it is still ugly), but want to try, that it works.

2 changes, which I want to reach:

  • possibility to specify directory directly
  • start more, that one handler

What do you think about it in general?

@liveforeverx
Copy link
Contributor Author

Related to #12

@liveforeverx
Copy link
Contributor Author

Ok, I've simplified the interface, to set only one name. Than, it should be seen as proposal.

What do you think about?

@liveforeverx liveforeverx force-pushed the add_supervisor_interface branch from 4d504d8 to 1548007 Compare November 10, 2015 22:25
@liveforeverx
Copy link
Contributor Author

Added backwards compatibility to original API.

@5HT
Copy link
Member
5HT commented Jan 4, 2016

If it works and you'll be ready for catching all possible issues after merge then I can merge your change-set. Did you check that phoenix live reload plugin still works ?

@liveforeverx
Copy link
Contributor Author

@5HT It works, I have tested and phoenix_live_reload still works. I've added information in README about backwards_compatibility. I'm definitely ready for catching all possible issues. I'm watching now for issues this repository.

@5HT
Copy link
Member
5HT commented Jan 7, 2016

Well then thanks and welcome. I'm mergin' and will review code later.
We need to remove old code after phoenix_live_reload and active will switch to new schema.

5HT added a commit that referenced this pull request Jan 7, 2016
initial approach to have possibility to start own supervisor for diff...
@5HT 5HT merged commit fedc289 into synrc:master Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0