The code demonstrates the power of hot module reloading and packaging of NestJs application using Webpack
$ npm install --save-dev webpack webpack-cli webpack-node-externals ts-loader
$ npm install fork-ts-checker-webpack-plugin
$ npm install config // On need basis if using congig npm module
$ npm install
# webpack
$npm run webpack
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod