Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The gulp dev task deletes all the built files when they change #1

Closed
JedWatson opened this issue Nov 10, 2014 · 0 comments
Closed

The gulp dev task deletes all the built files when they change #1

JedWatson opened this issue Nov 10, 2014 · 0 comments
Labels

Comments

@JedWatson
Copy link
Owner

The gulp task for development isn't set up correctly, it deletes all the built files when one of the watch tasks run.

This is due to limitations with orchestra that will be solved in Gulp 4, but for now is a real pain. The whole gulp file needs to be reworked to fix this, or the clean tasks need to be removed (which I would prefer not to do)...

One possible solution is to create duplicate tasks with dist and dev versions, where the dist versions all depend on the clean task, and the dev ones don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant