Semantic-UI-Meteor
Semantic-UI-Meteor copied to clipboard
The weirdest thing in the universe just happened
Feel free to close this after you've read it. I just have to tell you this. The weirdest thing happened. That almost made me want to jump from a cliff because it freaked me out too much.
I changed the name of the site folder and then changed it back. E.g.
mv client/lib/semantic-ui/site client/lib/semantic-ui/site123
mv client/lib/semantic-ui/site123 client/lib/semantic-ui/site
And ALL my custom overrides were suddenly completely ignored. Even though the git diff showed 0 differences. I ripped my hair out for a good 30-40 min at least. (also renaming/moving it around, reinitializing semantic etc). Nothing.
I finally re-cloned my entire app from github and then everything was back to normal. My overrides were there. Git diff still 0
Am I the only one this has happened to? I mean I don't even know where to begin. Why would it just decide that the site folder didn't include my overrides anymore when it did.
Anyway, I can't really provide anything constructive here. Just needed to tell my story.
Cheers
Happened again, 4 months later, but this time on it's own. I added border-color: white to button.overrides.import.less. And on the next meteor refresh all overrides were gone. All *.variables.import.less were still there, but no overrides.
Explicitly importing @import '/client/lib/semantic-ui/semantic.less'; in /client/main.less seems to fix it. Though it doesn't make sense to me really, since it only imports all definitions as far as I can see.
I've been working for a year on this using meteors built in asset pipeline for this, and not having to explicitly import semantic.less
Whats going on here? ^^ For sure it can be a Meteor thing, but I'm still baffled.
Cheers
+1 Any update on this? Getting this with v2.2.1, work-around isn't working for me.