#197 and #196 issues are solved by adding changes to the dist folder.
So after gulp build command it generates the dist folder again from scratch resulting in the same issue.
As gulp build generates dist folder from lib folder,
lib folder needs to be synced with dist folder.