blob: 44688fb492fa564e9b5d4e3e80aeff5f40981c1c (
plain) (
blame)
1
2
3
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>
|