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

Hot Code Reload fails on Arch Linux when directory in path contains a space #33

Closed
basichash opened this issue Jun 21, 2016 · 3 comments
Assignees

Comments

@basichash
Copy link

OS: Arch Linux
Kernel: x86_64 Linux 4.6.2-1-ARCH
Phoenix: v1.1.6
Mix: 1.2.6

Initial app directory contained a space, also inotifytools were not installed. Hot Code Reload was not being triggered when changes were made to /web.
After installing inotifytools, and creating a new app in the same spaced directory, reload was still not being triggered.
After creating a new parent directory and creating a new app, reload was being triggered without issues.

Likely cause: spaced-directory names in the phoenix app path

@chrismccord
Copy link
Member

Likely cause: spaced-directory names in the phoenix app path

can you double check by creating a new project with a space in the dir name?

@basichash
Copy link
Author

Double checked it, when the parent directory contained a space, e.g. 'Parent Dir', hot reload wasn't functioning, but replacing the space with a dash ('Parent-Dir') worked just fine.

@chrismccord chrismccord self-assigned this Jun 30, 2016
@chrismccord
Copy link
Member

Unfortunately I am unable to replicate this on OS X. It may be an issue specific to inotifytools on certain platforms, but I haven't been able to find any leads on possible solutions. If you find a workaround or more information, please re-open. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants