Git Product home page Git Product logo

Comments (4)

jr-cologne avatar jr-cologne commented on May 23, 2024

Hi @yaroslav1994,

thank you very much for filing this issue.

Could you please provide more information about the circumstances of this potential bug?

For instance, does this behavior only apply for scss files or are other types of files affected as well?

I'm afraid, I'm unsure whether I will have the time to look into this issue in the near future.
Because of that, I am going to open this issue for Hacktoberfest contributors.

If you or anyone else has the time and knowledge needed to further investigate this bug and submit a PR to fix this, I would be really happy.

Thank you so much in advance!

Best regards,
@jr-cologne

from gulp-starter-kit.

yaroslavthedev avatar yaroslavthedev commented on May 23, 2024

Hello. After a few hours research i find that if remove this construction http://joxi.ru/DrllD4VHVwJpjr
it works fine.
I am using scss syntax but sass syntax also didnt work until i deleted this part of code.

And i am using zurb foudation sass, and there were problems too.
Didn't work includePath - http://joxi.ru/BA0OJPviMnNyo2

My fix if to place "vendor" task forward before "clear" task. http://joxi.ru/VrwnD4lC7P5lWA

from gulp-starter-kit.

jr-cologne avatar jr-cologne commented on May 23, 2024

Hi @yaroslav1994,

thank you very much for the clarifications.

I quickly tested this and it indeed looks like incremental builds cause that changes are not taken over to the dist files.

Unfortunately, I'm not sure how to quickly fix this issue.
Since I don't really have the time to further look into this, I'm hoping someone from Hacktoberfest can help out here.

I'm sorry you might have to wait some time for a proper fix.
As a temporary solution, just stop using incremental builds by removing the since property entirely as you already found out that this fixes the issue.

Best regards,
@jr-cologne

from gulp-starter-kit.

jr-cologne avatar jr-cologne commented on May 23, 2024

Quick update on that issue:
gulp.lastRun() does not work with Sass as we would expect since only timestamps of files without the _ in front are compared to the current timestamp which is why changes in Sass files like the partials are not reflected in the built CSS files.

We might be able to go around this issue by using a package like gulp-cache which seems to compare actual file contents.

Another option might be trying to make Gulp check timestamps of files with the underscore as well, but I'm not sure whether this is possible somehow.

from gulp-starter-kit.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.