brackets-sass icon indicating copy to clipboard operation
brackets-sass copied to clipboard

Not compiling on imported file save event.

Open JonesyH opened this issue 9 years ago • 17 comments

After updating (and not changing anything) to version 2.0.3-132 brackets-sass no longer compiles when an imported file is saved/changed. It will however compile when saving/changing the main.scss (in which each _file.scss is imported via).

Also note. error when back tracing mixins in imported files. also perfectly fine until updating.

OS : Windows 7 Brackets : R1.3 B1.3.0-16022 Bracket-Sass : 2.0.3-132

Poorly described folder structure : +c/ |--- + _scss/ |------- _body.scss |------- main.scss |--- main.css |--- main.css.map

brackets.json :

    "path": {
        "somwhere/main.scss": {
            "sass.enabled": true,
            "sass.options": {
                "outputDir": "../",
                "imagePath": null,
                "includePaths": [],
                "sourceComments": "false",
                "outputStyle": "compressed"
            },
            "linting.collapsed": false
        }
    }

JonesyH avatar Jul 19 '15 21:07 JonesyH

I have the same problem, except it happens only in some of my projects. It seems random as I couldn't find anything that would tie them together.

jan-herman avatar Jul 25 '15 19:07 jan-herman

I tried disabling all of my extensions and there was some conflict with "File Tree Exclude" extension. Now everything works fine. Maybe this will help you.

jan-herman avatar Jul 25 '15 19:07 jan-herman

Having the same problem, and I do not have "File Tree Exclude" Installed. This has also started for me in the latest update to the extension.

Kirynn avatar Jul 29 '15 15:07 Kirynn

Any news on this? I have the same problem, I disabled my extensions and it's not working.

justpixel avatar Aug 07 '15 07:08 justpixel

+1

polonel avatar Aug 30 '15 01:08 polonel

I had this issue on sites that were over the 30,000 file Brackets threshold.

I excluded a couple of folders in the sites affected and everything now works as expected.

andrewmarksmith avatar Sep 02 '15 12:09 andrewmarksmith

Same here for me. Just wondering if I misconfigured something...

Windows 7 64bit, Brackets 1.4.0, No big project. Other project (foundation) works

Milliw avatar Sep 03 '15 12:09 Milliw

I'm having this same problem. Turned off all extensions and left this and it refuses to compile. Have to use different software.

On my work machine; Windows 7 64bit. Think SASS is fine on my Mac though (but will check when I get home).

CardcaptorStacey avatar Sep 07 '15 11:09 CardcaptorStacey

For me now everything is working fine. I guess I was too fast with error reporting...

Milliw avatar Sep 07 '15 17:09 Milliw

I still have this issue constantly. If I close Brackets and re-open it, it will work as intended but as I continue to work on the project and save files; I'll encounter the issue with the main file not compiling. I'll close Brackets and start again.

polonel avatar Sep 07 '15 17:09 polonel

Strange behavior. Working on a project with four scss-files. All import same _base.scss. Sometimes it works flawlessly and then it stops to generate the css file. No matter if I change import file or main file.

Brackets json like this

{
    "sass.enabled": false,
    "path": {
        "wp-content/themes/da-child/scss/style.scss": {
            "sass.enabled": true,
            "sass.options": {
                "outputDir": "../",
                "includePaths": [
                    "../../base-child/scss/"
                ],
                "sourceComments": true,
                "outputStyle": "nested"
            },
            "linting.collapsed": false,
            "ovk.simple-todo.enabled": false
        },
        "wp-content/themes/hbs-child/scss/style.scss": {
            "sass.enabled": true,
            "sass.options": {
                "outputDir": "../",
                "includePaths": [
                    "../../base-child/scss/"
                ],
                "sourceComments": true,
                "outputStyle": "nested"
            },
            "linting.collapsed": false,
            "ovk.simple-todo.enabled": false
        },
        "wp-content/themes/shfn-child/scss/style.scss": {
            "sass.enabled": true,
            "sass.options": {
                "outputDir": "../",
                "includePaths": [
                    "../../base-child/scss/"
                ],
                "sourceComments": true,
                "outputStyle": "nested"
            },
            "linting.collapsed": false,
            "ovk.simple-todo.enabled": false
        }
    }
}

Milliw avatar Sep 10 '15 12:09 Milliw

I recently started using this plugin and I'm having the exact same issue...

jnaklaas avatar Mar 10 '16 13:03 jnaklaas

Same here. :(

TsuNut avatar Aug 25 '16 20:08 TsuNut

I'm also still having this issue. Disabling all other extensions solved the issue (once, temporarily). After enabling a bunch of extensions got the issue back. Disabling all extensions (one by one to find out which one caused the issue) didn't solve the issue this time.

Please help :-(

jnaklaas avatar Dec 13 '16 13:12 jnaklaas

Still having this issue...Uninstalling and reinstalling the plugin worked the first time for me but it stopped working again and no matter what I do it won't work.

Super frustrating. Help!

danielle93 avatar Feb 17 '17 23:02 danielle93

@danielle93 What OS are you using, plugin version?

gverm avatar Feb 17 '17 23:02 gverm

@gverm I'm on macOS 10.12.3 (Sierra), plugin version 2.0.5, still having the issue.

jnaklaas avatar Feb 18 '17 09:02 jnaklaas