phpvms/gulpfile.js
2017-06-21 12:29:31 -05:00

19 lines
341 B
JavaScript
Executable File

'use strict';
/**
*
*/
var gulp = require('gulp');
var cp = require('child_process');
function exec(cmd) {
cp.exec(cmd, function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
});
}
gulp.task('reset', function() {
exec('php artisan migrate:refresh --seed --seeder DevelopmentSeeder');
});