summaryrefslogtreecommitdiffstats
path: root/archives/extend/2015-September/000556.html
diff options
context:
space:
mode:
Diffstat (limited to 'archives/extend/2015-September/000556.html')
-rw-r--r--archives/extend/2015-September/000556.html166
1 files changed, 166 insertions, 0 deletions
diff --git a/archives/extend/2015-September/000556.html b/archives/extend/2015-September/000556.html
new file mode 100644
index 00000000..fe4f8d6a
--- /dev/null
+++ b/archives/extend/2015-September/000556.html
@@ -0,0 +1,166 @@
+<!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=%3CCAABECY39S6vGpLmKrFbCGrV_-%3D4TWUAgCvE9zaru-FUJxe4cYA%40mail.gmail.com%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="000555.html">
+
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Cowboy, relx, and dev mode, oh my!</H1>
+ <B>Graham Hay</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=%3CCAABECY39S6vGpLmKrFbCGrV_-%3D4TWUAgCvE9zaru-FUJxe4cYA%40mail.gmail.com%3E"
+ TITLE="[99s-extend] Cowboy, relx, and dev mode, oh my!">grahamrhay at gmail.com
+ </A><BR>
+ <I>Wed Sep 30 19:22:58 CEST 2015</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000555.html">[99s-extend] Cowboy, relx, and dev mode, oh my!
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#556">[ date ]</a>
+ <a href="thread.html#556">[ thread ]</a>
+ <a href="subject.html#556">[ subject ]</a>
+ <a href="author.html#556">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Done.
+
+<A HREF="https://github.com/ninenines/cowboy/issues/897">https://github.com/ninenines/cowboy/issues/897</A>
+
+On 30 September 2015 at 18:03, Lo&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt; wrote:
+
+&gt;<i> It's not the first time I see this bug. Can you open a ticket on the
+</I>&gt;<i> Cowboy project so it gets documented in some kind of &quot;gotchas&quot; section?
+</I>&gt;<i>
+</I>&gt;<i> On 09/30/2015 06:57 PM, Graham Hay wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> <A HREF="https://www.virtualbox.org/ticket/9069">https://www.virtualbox.org/ticket/9069</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Opened 4 years ago :( Maybe I should give VMware some money.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> On 24 September 2015 at 15:57, Graham Hay &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">grahamrhay at gmail.com</A>
+</I>&gt;&gt;<i> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">grahamrhay at gmail.com</A>&gt;&gt; wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Yeah, that's how I expected it to work. I'll see if I can identify
+</I>&gt;&gt;<i> how vagrant is causing me problems.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Didn't know about &quot;make run&quot;, thanks :)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> On 24 September 2015 at 15:39, Lo&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>
+</I>&gt;&gt;<i> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt;&gt; wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Wait, I'm dumb. These steps also work:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Running the release, opening the website and seeing ohai,
+</I>&gt;&gt;<i> editing the file with some extra text, reloading, seeing the
+</I>&gt;&gt;<i> extra text.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> On 09/24/2015 04:35 PM, Lo&#239;c Hoguin wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Running the release, stopping it, editing the file, running
+</I>&gt;&gt;<i> the release
+</I>&gt;&gt;<i> again works here. I suspect something related to Vagrant.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Also I suggest 'make run' rather than your start.sh.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> On 09/23/2015 07:45 PM, Graham Hay wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I was fiddling with some js, and got tired of restarting
+</I>&gt;&gt;<i> the server. I
+</I>&gt;&gt;<i> was under the
+</I>&gt;&gt;<i> impression that using dev_mode with relx was the
+</I>&gt;&gt;<i> solution to this
+</I>&gt;&gt;<i> problem, but
+</I>&gt;&gt;<i> I can't seem to get it to work. I have an example here:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> <A HREF="https://github.com/grahamrhay/cowboy_devmode">https://github.com/grahamrhay/cowboy_devmode</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> If I look in _rel, the lib folder for my app is a
+</I>&gt;&gt;<i> symlink, as expected.
+</I>&gt;&gt;<i> Yet when I change
+</I>&gt;&gt;<i> the web page, the rendered page is unchanged. I've tried
+</I>&gt;&gt;<i> a hard reload,
+</I>&gt;&gt;<i> and clearing
+</I>&gt;&gt;<i> the cache.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> And, in case that wasn't annoying enough, even
+</I>&gt;&gt;<i> restarting the server
+</I>&gt;&gt;<i> isn't enough!
+</I>&gt;&gt;<i> Nor is running make again. In fact, the only way I've
+</I>&gt;&gt;<i> found of getting
+</I>&gt;&gt;<i> it to update,
+</I>&gt;&gt;<i> is to turn off dev mode, and build the release.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Am I missing something really obvious? As far as I can
+</I>&gt;&gt;<i> tell from
+</I>&gt;&gt;<i> perusing the code,
+</I>&gt;&gt;<i> the cowboy static handler just serves the file directly
+</I>&gt;&gt;<i> from the file
+</I>&gt;&gt;<i> system.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> (P.S. I am using vagrant, but I would expect that to
+</I>&gt;&gt;<i> cause errors rather
+</I>&gt;&gt;<i> than this, if
+</I>&gt;&gt;<i> the symlink wasn't working.)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> _______________________________________________
+</I>&gt;&gt;<i> Extend mailing list
+</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> &lt;mailto:
+</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>&gt;
+</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> --
+</I>&gt;&gt;<i> Lo&#239;c Hoguin
+</I>&gt;&gt;<i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</I>&gt;&gt;<i> Author of The Erlanger Playbook,
+</I>&gt;&gt;<i> A book about software development using Erlang
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Lo&#239;c Hoguin
+</I>&gt;<i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</I>&gt;<i> Author of The Erlanger Playbook,
+</I>&gt;<i> A book about software development using Erlang
+</I>&gt;<i>
+</I>-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150930/7f5e7422/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20150930/7f5e7422/attachment-0001.html</A>&gt;
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000555.html">[99s-extend] Cowboy, relx, and dev mode, oh my!
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#556">[ date ]</a>
+ <a href="thread.html#556">[ thread ]</a>
+ <a href="subject.html#556">[ subject ]</a>
+ <a href="author.html#556">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>