-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Framework: spaces and braces break the build / hot-reload #100
Framework: spaces and braces break the build / hot-reload #100
Comments
I've tested this with newest |
I ran a test and the problem is still present. With a path like:
|
Ah, sorry, I missed the part about braces 🙇 Either way, I've created #3583 to address any issues with special characters in the path - please test it and let me know if it helped. |
I did a round of tests:
Weirdly the first time I tried with both spaces and 👍 |
Thanks for the extra testing - at least spaces don't break hot reloading... Do you think we should keep this issue open (it was autoclosed by the merge of my PR just now) or leave it closed since it's most likely something that has to be fixed upstream? |
Yeah... I haven't reopened it exactly for that reason. It's not really dependent on us, even if it's a shame the build tools don't work properly in a modern filesystem. :) |
Docs: change wpcom.sites() to wpcom.site()
We noticed today that spaces in the path break the build system. This compounds with another issue using braces (
{
and}
).{
" and "}
") then the build succeeds, but hot-reload doesn't work.These are likely two independent issues, because the second never worked, but the first stopped working in the latest few days (even just this morning? -- 06Nov2015).
Note that while this is a relatively minor problem right now, with the open-sourcing it could cause setup issues, because by default the hard drive on Macs is called
/Volumes/Macintosh HD
, containing a space, thus will likely fail or require a longer tutorial.make run
worked for me on a freshly pulledmaster
branch yesterday. Today it stopped working (06Nov15)I've also tried
npm install
,npm update
, andmake distclean
. Nothing worked.I did try to check out a very old branch, so old it had to "unbuild" a few things. That branch would
make run
just fine.After some debugging in slack, we found out that if I rename my harddrive from
Macintosh HD
to justMacintosh
(no space), it works just fine.Partial fix: if we change in
Makefile
:to
Further info:
make run
from this path, it works:~/git/wp-calypso
make run
from this path, it breaks:/Volumes/Macintosh HD/Users/username/git/wp-calypso
Since Coda insists upon expanding any symlinks (BAD CODA!) it would be so nice if the build process could take spaces into account.
The text was updated successfully, but these errors were encountered: