diff options
Diffstat (limited to 'archives/extend/attachments/20150923/fc8e4ef7/attachment-0001.html')
-rw-r--r-- | archives/extend/attachments/20150923/fc8e4ef7/attachment-0001.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archives/extend/attachments/20150923/fc8e4ef7/attachment-0001.html b/archives/extend/attachments/20150923/fc8e4ef7/attachment-0001.html new file mode 100644 index 00000000..44688fb4 --- /dev/null +++ b/archives/extend/attachments/20150923/fc8e4ef7/attachment-0001.html @@ -0,0 +1,4 @@ +<tt> +<div dir="ltr">I was fiddling with some js, and got tired of restarting the server. I was under the <div>impression that using dev_mode with relx was the solution to this problem, but </div><div>I can't seem to get it to work. I have an example here:</div><div><br><a href="https://github.com/grahamrhay/cowboy_devmode">https://github.com/grahamrhay/cowboy_devmode</a><br><br><div>If I look in _rel, the lib folder for my app is a symlink, as expected. Yet when I change</div><div>the web page, the rendered page is unchanged. I've tried a hard reload, and clearing</div><div>the cache. </div><div><br></div><div>And, in case that wasn't annoying enough, even restarting the server isn't enough! </div><div>Nor is running make again. In fact, the only way I've found of getting it to update, </div><div>is to turn off dev mode, and build the release.</div></div><div><br></div><div>Am I missing something really obvious? As far as I can tell from perusing the code,</div><div>the cowboy static handler just serves the file directly from the file system.</div><div><br></div><div>(P.S. I am using vagrant, but I would expect that to cause errors rather than this, if </div><div>the symlink wasn't working.)</div></div><br> + +</tt> |