Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livereload not working (for me) in OSX Yosemite #1236

Closed
bep opened this issue Jun 28, 2015 · 6 comments
Closed

Livereload not working (for me) in OSX Yosemite #1236

bep opened this issue Jun 28, 2015 · 6 comments
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Jun 28, 2015

Darwin bep-mac.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
@bep bep added the Bug label Jun 28, 2015
@bep bep self-assigned this Jun 28, 2015
@bep bep added this to the v0.15 milestone Jun 28, 2015
@josharcheruk
Copy link
Contributor

I'm running Hugo 0.14 on OS X Yosemite with 14.3.0 kernel and not seeing this behaviour. Live reload is operating correctly in latest stable Safari, Firefox and Chrome.

Apologies for the 'works for me' but it may be at least somewhat helpful to know it's working here. If you'd like any more info as to my setup to compare to yours just ask.

@bep
Copy link
Member Author

bep commented Jun 28, 2015

@PuffinBlue ... it does help ... on the morale.

I just arrived from Linux where everything worked smoothly ... to my new MacBook. I'm a heavy Hugo-user, so I gotta get it working for me. But I will fix it.

@josharcheruk
Copy link
Contributor

I installed via Homebrew and that's worked correctly for me. I'm guessing you might have different requirements for development but if you can get a Homebrew install working it might give a clue as to what's going wrong.

@bep bep changed the title Livereload not working in OSX Yosemite Livereload not working (for me) in OSX Yosemite Jun 28, 2015
@bep
Copy link
Member Author

bep commented Jun 28, 2015

I build from source, but I have also tested with the relased 0.14 binary. Doesn't work, either, but they behave sligthly differently:

Release: Detects first change and rebuilds/loads OK. The following changes are ignored.
Current dev: Detects first change, does not rebuild, but reloads browser.

bep added a commit that referenced this issue Jun 28, 2015
There have been some changes to the ´helpers.GetThemesDirPath()´ so it now returns an empty string when no theme.

This is correct, but it broke the watch service (at lest on OSX), as `strings.HasPrefix("", "somestring") evaluates to true somehow, and content changes are incorrectly branded as static.

There are other issues in there, but that will come later ...

See #1236
@bep
Copy link
Member Author

bep commented Jun 28, 2015

Duplicates #1053

@bep bep closed this as completed Jun 28, 2015
tychoish pushed a commit to tychoish/hugo that referenced this issue Aug 13, 2017
There have been some changes to the ´helpers.GetThemesDirPath()´ so it now returns an empty string when no theme.

This is correct, but it broke the watch service (at lest on OSX), as `strings.HasPrefix("", "somestring") evaluates to true somehow, and content changes are incorrectly branded as static.

There are other issues in there, but that will come later ...

See gohugoio#1236
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants