let del = require('del');

del(['public/**']).then(function () {
    console.log('/public dir is deleted');
});

var del = require('del');

del(['public/**']).then(function () {
    console.log('/public dir is deleted');
});

Make it run on Node 4
Make it run on Node 4

[ci skip]