Gulp module shell/preprocess not executing command (setting env variable)

shell.task([
    'export NODE_ENV="development"'
]);

This won't work either:

preprocess({
    context: {
        NODE_ENV: 'development'
    }
});

This won't set my env variable. Any ideas? I'm using NVM with a node instance of v0.11.