budo icon indicating copy to clipboard operation
budo copied to clipboard

Live reloading and static dir change

Open mattstyles opened this issue 6 years ago • 1 comments

budo src/index.js --live --dir=src

If you're serving a static src/index.html file then budo serves that just fine but the live reload js file from the default static file isn't included and it doesn’t seem to be running on 35729 so my browser live-reload plugin can't pick up a server to listen to.

I created a repo that exhibits this.

console output for budo suggests live-reload is running somewhere:

[0000] info  Server running at http://169.254.249.217:9966/ (connect)
[0000] info  LiveReload running

budo@9 tells me LiveReload is running on the standard port and my browser has no issues connecting to it, this is only an issue with budo@10

In case it makes any difference I'm using node@8

Happy to dig in to this but not exactly sure where to start, I'm guessing with budo's live-reload implementation?

mattstyles avatar Aug 11 '17 14:08 mattstyles