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

Combine with Livereload #48

Closed
daslicht opened this issue Jul 10, 2013 · 2 comments
Closed

Combine with Livereload #48

daslicht opened this issue Jul 10, 2013 · 2 comments

Comments

@daslicht
Copy link

Hello,
wouldn't it be nice if we could combine PM2 with Livereload ?

So once a file change, the Server is restarted and the Browser is refreshed?!

Already possible ?

@Unitech
Copy link
Owner

Unitech commented Jul 16, 2013

Interesting idea, as PM2 focus on production server, it's not his main goal for now.

I began to implement a watch feature in the God Core : https://github.com/Unitech/pm2/blob/master/lib/God.js#L231

Feel free to patch it ;)

@Unitech Unitech closed this as completed Jul 16, 2013
@daslicht
Copy link
Author

Hello,
I have created a extension which automatically refresh the browser in dev mode:
https://github.com/daslicht/pm2-dev-refresh/

Here are the modifications I have made in pm2:
daslicht@c594117

What do you think ?

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

2 participants