browser-refresh icon indicating copy to clipboard operation
browser-refresh copied to clipboard

Restart the Server when User Types RS in the Console

Open nahtnam opened this issue 8 years ago • 1 comments

Hey,

Would be cool to allow the user to type rs in the console which would manually restart the server. Sometimes I change things in other folder and I would like to restart the server. Pressing ctrl + c and then typing npm run dev which starts both my node and webpack server takes to much time. Having an rs command would only restart my node server (not webpack since its running in the background) and would save a bunch of time. Nodemon already does this.

Thanks.

nahtnam avatar May 31 '17 18:05 nahtnam

/cc @mlrawlings

Michael had done some work to revamp browser-refresh. Thoughts @mlrawlings ?

patrick-steele-idem avatar May 31 '17 19:05 patrick-steele-idem