patrick-steele-idem / browser-refresh

Node.js module to enable server restart and browser refresh in response to file modifications
110 stars 18 forks source link

Manually specifying the used port? #44

Open ejulen opened 7 years ago

ejulen commented 7 years ago

Hello, I was just wondering if there is some way of manually specifying the port browser-refresh uses to expose the client-side script?

brandones commented 7 years ago

+1. I'm trying to use within docker, which means I need my container to expose that port.

mnooblet commented 7 years ago

just create a .browser-refresh file with a json {"port":"8081"}

basickarl commented 5 years ago

@mnooblet Hmm this does not seem to work anymore with version 1.7.3