-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Implement a working dev server #40
Conversation
@JackThomson2 , can you please have a look at the approach of this PR? The implementation is clearly hacky needs improvement however I believe since it is a dev mode feature only and gets the hot reload to work it is a decent way. What do you think? |
@sansyrox sure I'll try take a look this weekend if that's alright, busy week unfortunately |
@JackThomson2 , yep yep 🖖 |
robyn/__init__.py
Outdated
from .robyn import Server | ||
from asyncio import iscoroutinefunction | ||
from .responses import static_file, jsonify | ||
|
||
from watchdog.observers import Observer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to include this as a dev dependency in pyproject.toml
0fd48f1
to
3a2d453
Compare
905fd97
to
2eedc93
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dependencies issue has been fixed! 🔥
Idk why pyo3 is failing again!
This works well on all machines. Something wrong with the pythoning. |
Will not merge as Pyo3 is not compiling on Mac OS and am unable to test the implementation.