cds-snc / node-starter-app

Quick start application setup.... because you have to start somewhere.
MIT License
5 stars 3 forks source link

CLI loop when running first time after a clone. #116

Closed CalvinRodo closed 4 years ago

CalvinRodo commented 4 years ago

When first cloning the app and running npm run dev you get an infinite loop in the CLI with the following text being displayed:

Hash: 26c792b7d56043eb4fe9
Version: webpack 4.41.2
Time: 93ms
Built at: 2019-10-30 9:40:29 p.m.
                           Asset      Size    Chunks                         Chunk Names
                  _filelist.json  50 bytes            [emitted]
personal.5673dbf26d78120b40bd.js  5.72 KiB  personal  [emitted] [immutable]  personal
Entrypoint personal = personal.5673dbf26d78120b40bd.js
[./routes/personal/js/personal.js] 129 bytes {personal} [built]
[./utils/fileInput.js] 988 bytes {personal} [built]
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `npm run dev:dist`

> node-starter-app@5.0.3 dev:dist /Users/calvinrodo/workspace/esdc-devx/biggest-loser-iitb
> webpack --mode=development && cross-env NODE_ENV=development  node ./bin/www

This only occurs once, exiting using SIG-INT and running again doesn't have the same problem.

timarney commented 4 years ago

@CalvinRodo care to test with the latest release - thinking this should be fixed now.

CalvinRodo commented 4 years ago

It's fixed!