Skip to content

restart grunt serve? #401

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

Closed
ralyodio opened this issue Jul 29, 2014 · 4 comments
Closed

restart grunt serve? #401

ralyodio opened this issue Jul 29, 2014 · 4 comments

Comments

@ralyodio
Copy link

I need to kill and restart grunt serve on our debug instance from a git post-receive hook is this possible?

@timelf123
Copy link

not understanding everything about your debug env, but can you run a bash script via the hook that kills and restarts the grunt serve process?

@ralyodio
Copy link
Author

without a pid file, there's no good way to kill it off. I was hoping there would be a grunt serve:restart or something.

@timelf123
Copy link

looks like something like https://www.npmjs.org/package/grunt-pid-file could be a good solution

@DaftMonk
Copy link
Member

This also might work: https://www.npmjs.org/package/grunt-rerun

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

No branches or pull requests

3 participants