Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1FXi-0002Tr-47 for pgadmin-hackers@arkaria.postgresql.org; Wed, 28 Mar 2018 18:11:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1FXh-0005qK-8H for pgadmin-hackers@arkaria.postgresql.org; Wed, 28 Mar 2018 18:11:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1FXg-0005q8-W9 for pgadmin-hackers@lists.postgresql.org; Wed, 28 Mar 2018 18:11:25 +0000 Received: from mail-it0-x22f.google.com ([2607:f8b0:4001:c0b::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f1FXZ-0003y5-1R for pgadmin-hackers@postgresql.org; Wed, 28 Mar 2018 18:11:23 +0000 Received: by mail-it0-x22f.google.com with SMTP id 71-v6so2808135ith.2 for ; Wed, 28 Mar 2018 11:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i1eMR+YO1m0mQGo/MYtCoFBtuAkdL77D3AnMG6rv4LM=; b=bfVNprE/fOUd465MZ31ekI6Djh3sc62FcMHKS4mepqeafUT2iAHh63WJBJMfsaEqpk kIwdIt793ZPAm5+H0uxKlQtxzgHC9DEl+01qfMrYbTKD6p3kKZXgCjz7IAkku7qGGi+R DESF6lMYrQbWCOs/GkBCEXGeBpoew/xEbpJ0ZR4zkeF+H3BXuwdOBAqV1GhySeolTJhK Em7kO08/wQW7XICDnadbQLdwL5z9ubzaV2o/99CtpBvyPaZY4G0OSQuo+rJbLP+Ln2N6 yxzv215ej488wETiNuRQXd/fSmxTJyk7OG9iraQAKHATt+tw5rm5+jR6+wPFELzhGliz JE6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i1eMR+YO1m0mQGo/MYtCoFBtuAkdL77D3AnMG6rv4LM=; b=V60UEAPkTMMdKk08Sg1ldBcuG6okKmKoKLLBw/IWMnr1aYexwysCjCXas4nBxYB5Yr ZMuWIeZ0x+W6csc8aHfM/khE7AQGsVsQW8kehcZmTi4rbP4h4Q3Pio5r5PXAffua3yBg xoKRuS2cnxjmd9rQSOQdNmScUJrqzDRfy1RGkdjQ9kYQKbBzkPixT5tVpkf8PZNYxdaY rDpGzMu8KLfcf3PRS8mgZhY9BkDAAP8cEPbelFmeBYMaRfziOaapmw1yGA5gsnQJ8Bam KoIfme1OzuIT/BS4tNgMCryCYWfQLK/Muzcm/P04yk48x33pbWHWM+/A9CUQPcvq7xuf kgSw== X-Gm-Message-State: AElRT7FPsPMUyN8lsAHgmG+pxzq35GZwu2Pn3sY9nOwNdTxJ8U9Y5pT/ fWaYhLVJQiLBeIaDz8GWxu/SicMcTMpsoIMtACCexg== X-Google-Smtp-Source: AIpwx4/belgDTAJv4woNqk64qlw1NiwQy7naO2mC23LmVYPYTiqDWGavWzj6HXMfdBRHtLTSFYW0HFwxTYeFpo3Cx7A= X-Received: by 2002:a24:3609:: with SMTP id l9-v6mr4683432itl.95.1522260675608; Wed, 28 Mar 2018 11:11:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Joao De Almeida Pereira Date: Wed, 28 Mar 2018 18:11:05 +0000 Message-ID: Subject: Re: How to enable debug mode to See changes on the fly? To: Rahul Soshte Cc: pgadmin-hackers@postgresql.org Content-Type: multipart/alternative; boundary="000000000000d36b3f05687ceec6" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000d36b3f05687ceec6 Content-Type: text/plain; charset="UTF-8" Hello Rahul, In fact when you change python code there isn't much you can do, you need to restart the server every time. For the Javascript code you can have a second console open and run `yarn bundle:watch` and it will regenerate the javascript code and you just need to refresh the webpage on the browser. Thanks Victoria & Joao On Wed, Mar 28, 2018 at 12:23 PM Rahul Soshte wrote: > In my config_local.py I have made DEBUG_MODE = TRUE > Even then when I make changes to files in the codebase I am not able to > see the changes instantly, I gotta restart the server again and again.I > dont want to restart the server again and again to see my changes. > What do I do? > --000000000000d36b3f05687ceec6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Rahul,
In fact when you change python code there= isn't much you can do, you need to restart the server every time.
For the Javascript code you can have a second console open and run `y= arn bundle:watch` and it will regenerate the javascript code and you just n= eed to refresh the webpage on the browser.

Thanks<= /div>
Victoria & Joao

On Wed, Mar 28, 2018 at 12:23 PM Rahul Soshte <rahulsoshte360@gmail.com> wrote:
In my conf= ig_local.py I have made DEBUG_MODE =3D TRUE
Even then when I make= changes to files in the codebase I am not able to see the changes instantl= y, I gotta restart the server again and again.I dont want to restart the se= rver again and again to see my changes.
What do I do?
--000000000000d36b3f05687ceec6--