Open tihomir-kit opened 9 years ago
Same problem here. Saving a .scss file gives this:
09:04:59.135 AM: Compiling: site.scss 09:04:59.139 AM: Beginning compile: C:\Project\Content\site.scss 09:04:59.139 AM: Ignoring compile due to stale document.
No .css file is created.
SassyStudio version 0.2.0.0 6/17/2015.
I am facing the same issue
Compiling: site.scss
Beginning compile: C:\Project\Content\site.scss
Ignoring compile due to stale document.
To make the extension working i did a dirty fix by replacing
// file is stale, likely another request coming in
if (time < source.LastWriteTime)
{
if (Options.IsDebugLoggingEnabled)
Logger.Log("Ignoring compile due to stale document.");
return;
}
with
Logger.Log(String.Format("File Time, time = {0}, LWT = {1}", time, source.LastWriteTime));
which gave output something like this
12:06:11.171 AM: File Time, time = 23-10-2015 06:36:11 PM, LWT = 24-10-2015 12:06:11 AM
As per my observation
time
= It Is GMT or UTC
source.LastWriteTime
= System Time
0xApp thanks. This is a UTC vs local time issue I'm pretty sure. Both DateTimes need to be converted to UTC before comparison.
I don't have the VSIX SDK installed. Does someone want to patch and do a pull request?
@richard-browne https://github.com/darrenkopp/SassyStudio2013/pull/13
unofficial build : https://drive.google.com/file/d/0B2fvTU0SZRQsTkZZWUtkanFKS1U/view?usp=sharing just a temporary solution until new extension is released.
@0xApp Thanks for build :)
Thanks, this build worked for me in VS 2015 too.
Hi,
I just moved to vs2015 (from vs2012) and I'm getting this message in the output.. It never appeared before this. How can I go around this or turn this feature off as I am currently unable to compile my sass?
Thanks :)