mechio / takana

Takana lets you see your SCSS and CSS style changes live, in the browser, as you type them
http://takana.io
MIT License
1.11k stars 61 forks source link

Inject/Magento issues #23

Open ghost opened 10 years ago

ghost commented 10 years ago

I'm trying to use this with Magento, it seems the file gets written but not "injected(?)" into the browser. i can see the "Styles" tab in Chrome "jump" as i type. but no styles gets rendered. saving doesn't work either.

Takana: sending update....
Writing file /Users/preben/Documents/repos/client-install/skin/frontend/company/client/scss/styles.scss with encoding UTF-8 (atomic)
[11:21:25] [INFO] - rendered /Users/preben/.takana/scratch/Users/preben/Documents/repos/client-install/skin/frontend/company/client/css/styles.css
[11:21:25] [INFO] - rendered /Users/preben/.takana/scratch/Users/preben/Documents/repos/client-install/skin/frontend/rwd/default/css/madisonisland.css

Is it because there are several scss files? or could it be this?

<!--[if (gte IE 9) | (IEMobile)]><!-->
<link rel="stylesheet" type="text/css" href="http://site.dev/skin/frontend/company/client/css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://site.dev/skin/frontend/rwd/default/css/madisonisland.css" media="all" />
<!--<![endif]-->
[12:07:43] [INFO] - editor server listening on 48627
[12:07:43] [INFO] - webserver listening on 48626
[12:07:43] [INFO] - found Sublime Text 3
[12:07:43] [INFO] - installing plugin to '/Users/preben/Library/Application Support/Sublime Text 3/Packages/Takana'
[12:07:43] [INFO] - adding project folder /Users/preben/Documents/repos/client-install
[12:07:44] [INFO] - editor connected
[12:07:47] [INFO] - browser connected to project default
[12:07:47] [INFO] - matched http://client.dev/skin/frontend/company/client/css/styles.css ----> /Users/preben/Documents/repos/client-install/skin/frontend/company/client/css/styles.css
[12:07:47] [INFO] - matched http://client.dev/skin/frontend/rwd/default/css/madisonisland.css ----> /Users/preben/Documents/repos/client-install/skin/frontend/rwd/default/css/madisonisland.css
[12:07:47] [INFO] - rendered /Users/preben/.takana/scratch/Users/preben/Documents/repos/client-install/skin/frontend/company/client/css/styles.css
[12:07:47] [INFO] - rendered /Users/preben/.takana/scratch/Users/preben/Documents/repos/client-install/skin/frontend/rwd/default/css/madisonisland.css
[12:07:47] [INFO] - rendered /Users/preben/.takana/scratch/Users/preben/Documents/repos/client-install/skin/frontend/company/client/css/styles.css
ghost commented 10 years ago

Seems it matches the css file, i'm trying to add .takana-ignore but that doesn't work.