neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 56 forks source link

removing the current build before building again #238

Closed Sadaf-A closed 5 months ago

Sadaf-A commented 5 months ago

Resolves: #224

This PR adds a function called clearDirectory() to utils.js consolidating clearCache() with it also and utilizes this function in build.js to remove the current build before bundling again and for clearing cache in bundler.js and downloader.js