<div dir="ltr">Are you sure it's not a cache problem? I had the same issue a few weeks ago and disabling the cache via chrome developer tools did the trick.<div><a href="http://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development">http://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 4, 2017 at 4:55 AM, Corey Boyle <span dir="ltr"><<a href="mailto:coreybrett@gmail.com" target="_blank">coreybrett@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Without more details (code, input, output, errors, etc) your question<br>
can not be answered.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Jan 4, 2017 at 7:43 AM, Felix Louistisserand<br>
<<a href="mailto:felix.louistisserand@inria.fr">felix.louistisserand@inria.fr</a><wbr>> wrote:<br>
> I already tried the debug mode, it doesn't solve my problem. Note that the problem is the persistence of datas even through reboots of the server, not only when actualizing.<br>
><br>
> ----- Mail original -----<br>
>> De: "Ziirish" <<a href="mailto:ziirish@ziirish.info">ziirish@ziirish.info</a>><br>
>> À: "Felix Louistisserand" <<a href="mailto:felix.louistisserand@inria.fr">felix.louistisserand@inria.fr</a><wbr>><br>
>> Cc: <a href="mailto:flask@python.org">flask@python.org</a><br>
>> Envoyé: Mercredi 4 Janvier 2017 12:02:53<br>
>> Objet: Re: [Flask] Questions from a new user of Flask<br>
>><br>
>> Hello,<br>
>><br>
>> * On Wednesday, January 04, 2017 at 11:50 AM +0100, Felix Louistisserand<br>
>> <<a href="mailto:felix.louistisserand@inria.fr">felix.louistisserand@inria.fr</a><wbr>> wrote:<br>
>> > Happy new year !<br>
>> ><br>
>> > I am currently having some issues in the development of a web application,<br>
>> > and it may be because of some misuse of Flask. If you could help me on<br>
>> > this it will be awesome !<br>
>> ><br>
>> > As the application is still in development, the datas and the source code<br>
>> > changes quite frequently. I noticed that after changing the templates I<br>
>> > had to re-launch the server to make the changes occur. That was not a<br>
>> > problem at first. However as my projected grew it began to happen that<br>
>> > changes didn't took place, even after re-launching the server. I first<br>
>> > thought it was a cache problem but the issues carries on over different<br>
>> > web navigators (I tested Firefox and Chrome) and even in private<br>
>> > navigation of after manually cleaning the cache.<br>
>> > I discovered that this problem doesn't only concern templates but all the<br>
>> > static files too.<br>
>> > Is that a known problem ? I found no mention of it on the Internet but<br>
>> > maybe someone already encountered it here.<br>
>> > Of course it could have no link with Flask itself, but for now I have no<br>
>> > idea where else does it could come from.<br>
>><br>
>> If think the configuration setting you are looking for is<br>
>> TEMPLATES_AUTO_RELOAD.<br>
>> This option defaults to True when DEBUG mode is enabled:<br>
>> <a href="http://flask.pocoo.org/docs/0.12/quickstart/#debug-mode" rel="noreferrer" target="_blank">http://flask.pocoo.org/docs/0.<wbr>12/quickstart/#debug-mode</a><br>
>><br>
>> ><br>
>> ><br>
>> > As a side question, I wonder what is the recommended method to pass<br>
>> > arguments to javascript from flask. Currently I am doing it with a<br>
>> > <script> field in my template, but it doesn't feel good. Is there a better<br>
>> > way to do that ?<br>
>><br>
>> I don't have an answer yet for this question. The best I found so far is:<br>
>> <a href="https://stackoverflow.com/questions/10314800/flask-url-for-urls-in-javascript" rel="noreferrer" target="_blank">https://stackoverflow.com/<wbr>questions/10314800/flask-url-<wbr>for-urls-in-javascript</a><br>
>><br>
>> But at the moment I'm stick with what you do (ie. managing my javascript code<br>
>> as<br>
>> a jinja template)<br>
>><br>
>> ><br>
>> > Thank you for your attention,<br>
>> ><br>
>> > Felix<br>
>><br>
> ______________________________<wbr>_________________<br>
> Flask mailing list<br>
> <a href="mailto:Flask@python.org">Flask@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
______________________________<wbr>_________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
</div></div></blockquote></div><br></div>