[pgAdmin4][Patch]: Add command under scripts to run webpack bundle inwatch mode - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgAdmin4][Patch]: Add command under scripts to run webpack bundle inwatch mode
Date
Msg-id CAM5-9D94=9CuP+iAkDFjcJaB66_L1EpLsLrfatiQfoLTxTp33g@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: Add command under scripts to run webpackbundle in watch mode
List pgadmin-hackers
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 ```


Please review the patch

Thanks,
Surinder Kumar
Attachment

pgadmin-hackers by date:

Previous
From: Surinder Kumar
Date:
Subject: Re: Unified server/desktop config
Next
From: Harshal Dhumal
Date:
Subject: Re: [PATCH] Work with newer Flask-Security.