[pgAdmin4][Patch]: Add command under scripts to run webpack bundle inwatch mode

Поиск
Список
Период
Сортировка
От Surinder Kumar
Тема [pgAdmin4][Patch]: Add command under scripts to run webpack bundle inwatch mode
Дата
Msg-id CAM5-9D94=9CuP+iAkDFjcJaB66_L1EpLsLrfatiQfoLTxTp33g@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][Patch]: Add command under scripts to run webpackbundle in watch mode  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Список 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
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Surinder Kumar
Дата:
Сообщение: Re: Unified server/desktop config
Следующее
От: Harshal Dhumal
Дата:
Сообщение: Re: [PATCH] Work with newer Flask-Security.