This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271255 - "Compile Sass Files On Save" recently stopped working when it had been working well for months or years
Summary: "Compile Sass Files On Save" recently stopped working when it had been workin...
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 22:03 UTC by rwhal06
Modified: 2017-11-24 16:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (49.26 KB, text/plain)
2017-08-09 22:03 UTC, rwhal06
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rwhal06 2017-08-09 22:03:01 UTC
Product Version = NetBeans IDE 8.2 (Build 201705191307)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
  * Configure CSS Preprocessors in Project Properties
  * Edit a SCSS file, saving it.

ACTUAL:
  Nothing happens. No error messages. Updating Netbeans and restarting did not fix it.

EXPECTED:
  CSS files are created or updated in the appropriate folders
Comment 1 rwhal06 2017-08-09 22:03:08 UTC
Created attachment 164922 [details]
IDE log
Comment 2 rwhal06 2017-08-09 23:53:34 UTC
I don't know why, but I needed to close Netbeans and edit my `project.properties` file to change `web.root=public` to `web.root=.`

I have no idea why that setting either would have changed itself recently or would be interpreted by the system differently.

The way I figured out that this particular setting would fix this bug is:

I copied my entire folder of code to a new folder, "code2".

Then I created a fresh new Netbeans project pointing to that folder and configured the CSS Preprocessor.  It worked well, just like it always had!

So then I used Beyond Compare (https://en.wikipedia.org/wiki/Beyond_Compare) to check for differences in the project files. That's how I discovered the `web.root` difference.

I'll leave this bug open in case it shines a light on a real problem in Netbeans.

This behavior was really weird.
Comment 3 Orajo 2017-11-24 16:31:17 UTC
It's not a bug. I had the same problem. Some time ago I've changed Web Root setting on Source panel. Today I figure out that scss compiling stops working. After some googling I've found your comment, and I remembered, that previous change.
After correcting path do scss folders, that they are relative to Web Root folder now, everything works perfect.