diff options
Diffstat (limited to '_build/static/archives/extend/2015-September/000555.html')
-rw-r--r-- | _build/static/archives/extend/2015-September/000555.html | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2015-September/000555.html b/_build/static/archives/extend/2015-September/000555.html new file mode 100644 index 00000000..e8108fe5 --- /dev/null +++ b/_build/static/archives/extend/2015-September/000555.html @@ -0,0 +1,157 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy, relx, and dev mode, oh my! + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%2C%20relx%2C%20and%20dev%20mode%2C%20oh%20my%21&In-Reply-To=%3C560C15CF.7000300%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000554.html"> + <LINK REL="Next" HREF="000556.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy, relx, and dev mode, oh my!</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%2C%20relx%2C%20and%20dev%20mode%2C%20oh%20my%21&In-Reply-To=%3C560C15CF.7000300%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy, relx, and dev mode, oh my!">essen at ninenines.eu + </A><BR> + <I>Wed Sep 30 19:03:11 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000554.html">[99s-extend] Cowboy, relx, and dev mode, oh my! +</A></li> + <LI>Next message: <A HREF="000556.html">[99s-extend] Cowboy, relx, and dev mode, oh my! +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#555">[ date ]</a> + <a href="thread.html#555">[ thread ]</a> + <a href="subject.html#555">[ subject ]</a> + <a href="author.html#555">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>It's not the first time I see this bug. Can you open a ticket on the +Cowboy project so it gets documented in some kind of "gotchas" section? + +On 09/30/2015 06:57 PM, Graham Hay wrote: +><i> <A HREF="https://www.virtualbox.org/ticket/9069">https://www.virtualbox.org/ticket/9069</A> +</I>><i> +</I>><i> Opened 4 years ago :( Maybe I should give VMware some money. +</I>><i> +</I>><i> On 24 September 2015 at 15:57, Graham Hay <<A HREF="https://lists.ninenines.eu/listinfo/extend">grahamrhay at gmail.com</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">grahamrhay at gmail.com</A>>> wrote: +</I>><i> +</I>><i> Yeah, that's how I expected it to work. I'll see if I can identify +</I>><i> how vagrant is causing me problems. +</I>><i> +</I>><i> Didn't know about "make run", thanks :) +</I>><i> +</I>><i> On 24 September 2015 at 15:39, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> Wait, I'm dumb. These steps also work: +</I>><i> +</I>><i> Running the release, opening the website and seeing ohai, +</I>><i> editing the file with some extra text, reloading, seeing the +</I>><i> extra text. +</I>><i> +</I>><i> +</I>><i> On 09/24/2015 04:35 PM, Loïc Hoguin wrote: +</I>><i> +</I>><i> Running the release, stopping it, editing the file, running +</I>><i> the release +</I>><i> again works here. I suspect something related to Vagrant. +</I>><i> +</I>><i> Also I suggest 'make run' rather than your start.sh. +</I>><i> +</I>><i> On 09/23/2015 07:45 PM, Graham Hay wrote: +</I>><i> +</I>><i> I was fiddling with some js, and got tired of restarting +</I>><i> the server. I +</I>><i> was under the +</I>><i> impression that using dev_mode with relx was the +</I>><i> solution to this +</I>><i> problem, but +</I>><i> I can't seem to get it to work. I have an example here: +</I>><i> +</I>><i> <A HREF="https://github.com/grahamrhay/cowboy_devmode">https://github.com/grahamrhay/cowboy_devmode</A> +</I>><i> +</I>><i> If I look in _rel, the lib folder for my app is a +</I>><i> symlink, as expected. +</I>><i> Yet when I change +</I>><i> the web page, the rendered page is unchanged. I've tried +</I>><i> a hard reload, +</I>><i> and clearing +</I>><i> the cache. +</I>><i> +</I>><i> And, in case that wasn't annoying enough, even +</I>><i> restarting the server +</I>><i> isn't enough! +</I>><i> Nor is running make again. In fact, the only way I've +</I>><i> found of getting +</I>><i> it to update, +</I>><i> is to turn off dev mode, and build the release. +</I>><i> +</I>><i> Am I missing something really obvious? As far as I can +</I>><i> tell from +</I>><i> perusing the code, +</I>><i> the cowboy static handler just serves the file directly +</I>><i> from the file +</I>><i> system. +</I>><i> +</I>><i> (P.S. I am using vagrant, but I would expect that to +</I>><i> cause errors rather +</I>><i> than this, if +</I>><i> the symlink wasn't working.) +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</I>><i> +</I>><i> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +Author of The Erlanger Playbook, +A book about software development using Erlang +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000554.html">[99s-extend] Cowboy, relx, and dev mode, oh my! +</A></li> + <LI>Next message: <A HREF="000556.html">[99s-extend] Cowboy, relx, and dev mode, oh my! +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#555">[ date ]</a> + <a href="thread.html#555">[ thread ]</a> + <a href="subject.html#555">[ subject ]</a> + <a href="author.html#555">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> |