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

live preview from partials #91

Closed
CydGoblin opened this issue Feb 5, 2015 · 4 comments
Closed

live preview from partials #91

CydGoblin opened this issue Feb 5, 2015 · 4 comments
Assignees
Milestone

Comments

@CydGoblin
Copy link

I'm not sure if this is normal o if i'm explaining myself right, so bear with me please.

I have some similar structure

index.html
stylesheets
  -main.scss
  -main.css
  -components
           --_variables.scss
           --_header.scss

If I have a main file with all my partials imported, when modifying a partials, changes won't compile until save; so live preview won't show until save.

@ofhouse
Copy link

ofhouse commented Feb 21, 2015

+1
Would be very useful when a partial is changed that the main.scss would be automatically re-compiled.

It's already implemented for save file.

@jasonsanjose
Copy link
Owner

@Turqueso I think this may have been a windows bug where the source map paths were set incorrectly, causing the link from the main file to the partial file to be lost.

You can try the latest dev build here https://github.com/jasonsanjose/brackets-sass/releases/tag/2.0.1-101 (download the zip, open extension manager, then drag the zip from your file system to the drop zone).

If you have problems uninstalling, try the workaround here #81 (comment).

@CydGoblin
Copy link
Author

@jasonsanjose the latest dev build fixed my issue with compiling partials. thanks!
But there is not livepreview when i make changes on partials, i don't know if this is supposed to work on this build

update: created again the .brackets.json file, reaload and live preview from partials seem to be working fine now

@jasonsanjose
Copy link
Owner

Fixed in #100. Closing.

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

No branches or pull requests

3 participants