blaise-io / live-reload

Browser extension for web devs. Monitors source files on a page and reloads page or source file when a change is detected.
MIT License
60 stars 9 forks source link

ignore port number #29

Closed CengsBlanky closed 2 years ago

CengsBlanky commented 2 years ago

I start a local server use serve . in local directory, and the server choose a random port number I want to set a rule for all http://localhost:[any port number], How can I do it? Or must I add a port number in source file URLs?

CengsBlanky commented 2 years ago

Ok, I figure it out, just use regx: http://localhost:[0-9]{1,}/ in host URL and http://localhost:[0-9]{1,}/* in Source file URLs, thx for your useful plugin