feat: add hot-reload capabilities to pharaoh.
codekeyz opened this issue ยท 10 comments
Description
My running code should automatically reload. No need to do any additional setup.
Additional Context
- We might be able to achieve that using this library https://pub.dev/packages/hotreloader
- Also we can reference how it's done by shelf https://pub.dev/packages/shelf_hotreload
@rasheedmhd Do we have an update on this ticket? We might be moved to de-prioritize if it's being a pain to figure out.
I looking into it and will give you an update if I think we should de-prioritize for now.
I have attempted to implement it but it not working as it should so I am still working it on
Are you using the dart hotreloader package?
I tried using it but couldn't get it to work.
I tried that too. It didn't work. I re-implement angel_hot but there's an issue i need to fix
Alright, keep us in the loop
This is good progress. I was almost giving up on it for now ๐ฅ. But I've been doing some benchmarks against other competitors like Fastify, Express etc. I'll share results when I'm through.
Good stuff @iamEtornam @rasheedmhd ๐
@iamEtornam @rasheedmhd I saw this while reading Jaspr codebase today. This should be somewhat helpful.
I tried that too. It didn't work. I re-implement angel_hot but there's an issue i need to fix
@iamEtornam any updates on this? I have been looking into how the dart vm hotreload works and how we could possibly write something from the ground up. Just wanted to know your progress on this
Okay guys @rasheedmhd @iamEtornam I'm closing this ticket.
This task is out of scope of this package. I'll be raising it in Yaroo
. The full blown framework that uses Pharaoh underneath. That way it'll be pretty straight-forward to implement hot-reloading