netlify / ask-netlify

A place to submit questions for Netlify to answer in tutorials, podcasts and blog posts
https://ask.netlify.com
32 stars 8 forks source link

Can you abort an active build? #41

Open philhawksworth opened 5 years ago

philhawksworth commented 5 years ago

About me

My question in a little more detail

A good question from Ovie Okeh on twitter: https://twitter.com/sixty5black/status/1098189193849815040

Are there any plans in the future to allow developers to kill a build process manually? That seems like a pretty important functionality.

fpagnoux commented 5 years ago

This seems very critical for usability.

I'm trying to fix an issue on my Netlify build process, but I end up with deploys that get stuck, and I have no way to abort them. My only option is to wait 30 minutes for them to timeout 😞 .

mikeyhogarth commented 5 years ago

^^ I agree with this - in my case I was new to the platform and changed my build command to the following, thinking that's how you would get it to run tests;

npm run test && npm run build

The effect this was having was that it would hang the builds. By the time I realised my mistake I'd built up a backlog of 5 builds with no way to abort them :(

manniL commented 5 years ago

You can now!