# Gulp not Working After gulp --production

**URL:** https://discourse.roots.io/t/gulp-not-working-after-gulp-production/3806
**Category:** sage
**Tags:** gulp
**Created:** 2015-05-16T08:11:50Z
**Posts:** 4

## Post 1 by @Olaw2jr — 2015-05-16T08:11:50Z

I was kind of silly running gulp --production before my theme was complete, now neither of them works(that is neither gulp nor gulp --production) what can i do? it just clears and deleted the dist folder and that’s it.

---

## Post 2 by @JulienMelissas — 2015-05-17T14:16:23Z

Have you tried running just `gulp` again?

If not, please define “not working” a bit better. Thanks!

---

## Post 3 by @Olaw2jr — 2015-05-18T13:20:09Z

Yeah I’ve tried that several times.

It was working fine at first before a run the `gulp --production` command, and the command did work also.

But after that nothing works when i run any of the commands ( that is `gulp` or `gulp --production` ), and am given no error.

---

## Post 4 by @xav — 2015-06-01T17:26:31Z

Same problem for me :slight_smile:

EDIT: for now I fixed with git reset --hard

EDIT: after --production, gulp remove the folder /dist, juste re-create the folder and running gulp again and your local site is back
