Re: [pgAdmin4][Patch]: Add command under scripts to run webpack bundle in watch mode

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Add command under scripts to run webpack bundle in watch mode
Date: 2017-08-25 11:58:47
Message-ID: CAG7mmoz8yK_vZ3xC9v==GWjCwDq=_Cg=iBiE-Bq5f67a7GycYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks - committed!

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi>

On Wed, Aug 9, 2017 at 6:51 PM, Surinder Kumar <
surinder(dot)kumar(at)enterprisedb(dot)com> wrote:

> Hi
>
> Currently, whenever we are making a change in JS file, we have to re-run
> bundle script again to generate all bundles again, which takes time and it
> is pain for developers to watch it till finished.
>
> So Webpack `watch` option lets the Webapck watch for changes in the file
> and compiles only files which are changed after the initial build.
>
> Also added an option `--progress` which updates on terminal about packages
> being built and percentage completed.
>
> So, you can run bundle in watch mode in terminal:
>
> ``` $ yarn run bundle:watch ```
>
> Reference [link](https://webpack.js.org/configuration/watch/#
> components/sidebar/sidebar.jsx)
>
> Please review the patch
>
> Thanks,
> Surinder Kumar
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin 4 Jenkins 2017-08-25 12:05:56 Jenkins build is back to normal : pgadmin4-master-python27 #297
Previous Message Ashesh Vashi 2017-08-25 11:58:22 pgAdmin 4 commit: Add package run scripts to allow to run the webpack i