{"id":33905,"date":"2015-11-10T01:10:51","date_gmt":"2015-11-09T16:10:51","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=33905"},"modified":"2015-11-10T01:10:51","modified_gmt":"2015-11-09T16:10:51","slug":"devd","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/devd\/","title":{"rendered":"devd - Go\u3067\u4f5c\u3089\u308c\u305f\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u958b\u767a\u8005\u5411\u3051Web\u30b5\u30fc\u30d0\u30fc"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/open\/wp-content\/uploads\/2015\/11\/NewImage.png\" alt=\"NewImage\" title=\"NewImage.png\" border=\"0\" width=\"579\" height=\"167\" \/><\/p>\n<p>\u958b\u767a\u8005\u5411\u3051\u306eWeb\u30b5\u30fc\u30d0\u30fc\u300c<a href=\"http:\/\/corte.si\/posts\/devd\/intro\/index.html\">devd<\/a>\u300d\u3092\u7d39\u4ecb\u3057\u307e\u3059(<a href=\"https:\/\/github.com\/cortesi\/devd\">GitHub<\/a>)\u3002david\u306fGo\u3067\u4f5c\u3089\u308c\u3066\u3044\u3066\u3001Windows \/ Linux \/ Mac OS X\u306a\u3069\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002Go\u306e\u7279\u5fb4\u3092\u6d3b\u304b\u3057\u5358\u4e00\u30d0\u30a4\u30ca\u30ea\u3068\u3057\u3066<a href=\"https:\/\/github.com\/cortesi\/devd\/releases\">\u914d\u5e03<\/a>\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5358\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u6240\u5b9a\u306e\u5834\u6240\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3060\u3051\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30e9\u30a4\u30d6\u30ea\u30ed\u30fc\u30c9\u3084\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3001\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u30fb\u5e2f\u57df\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u6a5f\u80fd\u306a\u3069\u3001\u958b\u767a\u8005\u5411\u3051\u306e\u6a5f\u80fd\u304c\u5145\u5b9f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>devd\u306e\u57fa\u672c<\/h2>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u4f7f\u7528\u3057\u307e\u3059\u3002HTML\u3092\u4fdd\u5b58\u3057\u3066\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\"-o\"\u306f\u30d6\u30e9\u30a6\u30b6\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3001\"-l\"\u306f\u30e9\u30a4\u30d6\u30ea\u30ed\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<pre>\ndevd -ol .\n<\/pre>\n<p>\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u300cindex.html\u300d\u306e\u5185\u5bb9\u304c\u3001\u300chttp:\/\/devd.io.8000\u300d\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/open\/wp-content\/uploads\/2015\/11\/s-2015-11-06-23.30.05.png\" alt=\"S 2015 11 06 23 30 05\" title=\"s 2015-11-06 23.30.05.png\" border=\"0\" width=\"579\" height=\"254\" \/><\/p>\n<p>index.html\u3092\u7de8\u96c6\u3059\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u5185\u5bb9\u304c\u81ea\u52d5\u7684\u306b\u30ea\u30ed\u30fc\u30c9\u3055\u308c\u66f4\u65b0\u3055\u308c\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7<\/h2>\n<p>\u5358\u306b\u9759\u7684\u306aHTML\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3082\u30e9\u30a4\u30d6\u30ea\u30ed\u30fc\u30c9\u6a5f\u80fd\u3092\u4f75\u7528\u53ef\u80fd\u3067\u3001\"-w\"\u3067\u6307\u5b9a\u3057\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30d5\u30a9\u30eb\u30c0\u306e\u5909\u66f4\u304c\u76e3\u8996\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070Rails\u30a2\u30d7\u30ea\u3068\u9023\u643a\u3057\u305f\u3044\u5834\u5408\u3001\u901a\u5e38\u901a\u308a\u300crails s\u300d\u3067WEBrick\u3092\u7acb\u3061\u4e0a\u3052\u3001devd\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre>\ndevd -w .\/app http:\/\/localhost:3000\n<\/pre>\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30d5\u30a1\u30a4\u30eb\u3084\u30d3\u30e5\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u304c\u81ea\u52d5\u3067\u30ea\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/11\/Is-2015-11-09-20.44.04.png\" alt=\"S 2015 11 09 20 44 04\" title=\"s 2015-11-09 20.44.04.png\" border=\"0\" width=\"545\" height=\"244\" \/><\/p>\n<h2>\u305d\u306e\u4ed6\u30aa\u30d7\u30b7\u30e7\u30f3<\/h2>\n<p>\u300cdevd --help\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068\u305d\u306e\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\n  -A, --address=\"127.0.0.1\"\n                      Address to listen on\n  -a, --a             Listen on all addresses\n  -c, --cert=PATH     Certificate bundle file - enables TLS\n  -d, --down=N        Throttle downstream from the client to N kilobytes per second\n  -H, --logheaders    Log headers\n  -I, --ignore=REGEX  Disable logging matching requests. Regexes are matched over 'host\/path'\n  -l, --livereload    Enable livereload for static files\n  -n, --latency=N     Add N milliseconds of round-trip latency\n  -o, --open          Open browser window on startup\n  -p, --port=PORT     Port to listen on - if not specified, devd will auto-pick a sensible port\n  -T, --logtime       Log timing\n  -u, --up=N          Throttle upstream from the client to N kilobytes per second\n  -w, --watch=PATH    Watch path to trigger livereload\n<\/pre>\n<p>\u5e2f\u57df\u5e45\u3092\"-d\"(\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u901f\u5ea6)\u3084\"-u\"(\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u901f\u5ea6)\u3067\u5236\u9650\u3057\u305f\u308a\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u3092\"-n\"\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u63a5\u7d9a\u306a\u4e0d\u5b89\u5b9a\u306a\u72b6\u6cc1\u3067\u306eWeb\u30b5\u30fc\u30d3\u30b9\u306e\u30c6\u30b9\u30c8\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u6307\u5b9a\u3084\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u9759\u7684\u30b3\u30f3\u30c6\u30f3\u30c4\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306a\u3069\u3001\u3055\u3089\u306a\u308b\u8a73\u7d30\u306f<a href=\"https:\/\/github.com\/cortesi\/devd\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>devd\u306fGo\u3067\u8a18\u8ff0\u3055\u308cMIT\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u914d\u5e03\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u958b\u767a\u8005\u5411\u3051\u306eWeb\u30b5\u30fc\u30d0\u30fc\u300cdevd\u300d\u3092\u7d39\u4ecb\u3057\u307e\u3059(GitHub)\u3002david\u306fGo\u3067\u4f5c\u3089\u308c\u3066\u3044\u3066\u3001Windows \/ Linux \/ Mac OS X\u306a\u3069\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002Go\u306e\u7279\u5fb4\u3092\u6d3b\u304b\u3057\u5358\u4e00\u30d0\u30a4\u30ca\u30ea\u3068\u3057\u3066\u914d\u5e03\u3055\u308c\u3066\u3044\u308b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":33906,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[711],"class_list":["post-33905","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-go"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/33905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=33905"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/33905\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/33906"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=33905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=33905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=33905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}