Live data from Hacker News

Devd: a small, self-contained web daemon for developers

corte.si

11–20 of 38 posts

Re: Devd: a small, self-contained web daemon for developers

#11
post #5
post #3

What's wrong with Caddy [0]? [0] https://caddyserver.com/

"It started as a weekend stress-relief hack " "This isn't terribly surprising, since I wrote it to scratch my own idiosyncratic itch" This is hacker news remember.

How can I forget, right? Hackers unite.

Re: Devd: a small, self-contained web daemon for developers

#13
I wrote something similar, called Slinky [0], which also transparently compiles various compiled web langauges (SASS, HAML, CoffeeScript, TypeScript, etc.).

The issue with these systems is that they lie in between something like Python's SimpleHTTPServer and a complete frontend development tool like Grunt or Gulp. They're great for small projects, but have trouble scaling up.

[0] https://github.com/mwylde/slinky

Re: Devd: a small, self-contained web daemon for developers

#14

python -m SimpleHTTPServer

Devd is a single statically compiled binary with no external dependencies, and is released for OSX, Linux and Windows. Don't want to install Node or Python in that light-weight Docker instance you're hacking in? Just copy over the devd binary and be done with it.

Re: Devd: a small, self-contained web daemon for developers

#15
post #13

I wrote something similar, called Slinky [0], which also transparently compiles various compiled web langauges (SASS, HAML, CoffeeScript, TypeScript, etc.). The issue with these systems is that they lie in between something like Python's SimpleHTTPServer and a complete frontend development tool like Grunt or Gulp. They're great for small projects, but have trouble scaling up. [0] https://github.com/mwylde/slinky

Slinky looks very neat! I do feel it inhabits a very different niche from devd, though. I have no ambitions for devd to compete with tools like Grunt, Gulp or Slinky.

Devd has a simple job: it just serves files and triggers livereload when files change, and is completely agnostic about the build process. That means it works very well as a complement to Gulp - in fact, this is one of my primary use cases for devd. My gulp setups are simpler now: I've ditched Connect and node livereload libraries, and instead gulp JUST renders files to disk. It's early days, but having two sharp tools each doing what they do best seems to work well.

I should add that I definitely don't think there's one "right way" to do this stuff. I love the fact that we're free to explore variations to see what works and what doesn't. The more things we try the merrier!

Re: Devd: a small, self-contained web daemon for developers

#18
> Want to know what it's like to use your fancy 5mb HTML5 app from a mobile phone in Botswana? Look up the bandwidth and latency here [0]

In my experience I would take this listing as a grain of salt. Maybe that's what you get on a decent business connection, but a home or mobile connection is likely going to have a much higher latency. It also doesn't take into account where your servers are - latency from Europe to West US on a good connection is 200ms+.

[0] http://www.cisco.com/c/en/us/solutions/collateral/service-pr...

Post reply on HN