Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Is there a way to automatically reload node-inspector when server restarts?

Is there a way to automatically reload node-inspector when server restarts?

Problem

It's a fairly small thing, but it feels like I'm manually refreshing the node-inspector tab in chrome a million times a day, and there must be a better way.

When a file changes, and node restarts, and node-inspector detaches from target -- is there a way for it to automatically re-attach itself?

Problem courtesy of: jpadvo

Solution

This question is a duplicate of How can I make node-inspector restart when node is restarted?. See the accepted answer for a workaround solution using GreaseMonkey.

There is also a GitHub issue filled in the Node Inspector project: #266.

Solution courtesy of: Miroslav Bajtoš

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Is there a way to automatically reload node-inspector when server restarts?

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×