node_modules/laravel-mix/src/StandaloneSass.js
/**
     * Register a callback for when output is available.
     *
     * @param {Function} callback
     */
Register a callback for when output is available.
@param {Function} callback
Register a callback for when output is available . @param { Function } callback
whenOutputIsAvailable(callback) {
        this.command.stderr.on('data', output => {
            output = output.toString();
            let event = 'change';
            if (output.includes('Error')) event = 'error';
            if (output.includes('Wrote CSS')) event = 'success';
            callback(output, event);
        });
    }
whenOutputIsAvailable ( callback ) { this . command . stderr . on ( 'data' , output => { output = output . toString ( ) ; let event = 'change' ; if ( output . includes ( 'Error' ) ) event = 'error' ; if ( output . includes ( 'Wrote CSS' ) ) event = 'success' ; callback ( output , event ) ; } ) ; }
Register a callback for when output is available.
Register a callback for when output is available .