forked from vibe-d/vibe.d
-
Notifications
You must be signed in to change notification settings - Fork 0
Traditional edit refresh development with Vibe.d
Sean Charles edited this page Mar 13, 2014
·
1 revision
This is a copy of my blog post about how you can write a simple Bash script to allow a traditional edit-refresh development process using Vibe.d
http://objitsu.com/wp/2014/03/13/traditional-edit-compile-refresh-for-d-and-vibe-d/
router.get("/api/shutdown", &shutdownNow);
void shutdownNow(HTTPServerRequest req, HTTPServerResponse res) { vibe.core.core.exitEventLoop(); }
while true; do dub; done
That's it. Now run the script and play away. When you have made code changes and you want to see them, hit the shutdown option in your browser and the script will rinse and repeat.