2 thoughts on “node.js api: Is there a “compile started” event?

  1. Ah never mind, it’s an async method, so:

    const EventsPlugin = function() {};
        EventsPlugin.prototype.apply = function(compiler) {
            compiler.plugin('watch-run', function(watching, cb) {
                console.log('watch-run');
                cb();
            });
        };
    

Comments are closed.