Comments (4)
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.
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.
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.
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)
- npm init installation is not working HOT 1
- First stable version HOT 4
- use scss HOT 3
- Support installation in current working directory
- Do not use latest versions published on npm!
- Add support for images
- Use incremental builds for better performance
- Replace gulp-cssnano with gulp-clean-css
- Replace Autoprefixer browsers option to Browserslist config
- Installation in current directory: src folder missing, wrong installation confirmation message
- Better clarify supported node versions HOT 4
- Autoprefixer doesen't work HOT 1
- scss files not gulping on save HOT 1
- rtl direction
- Update dependencies
- Build after each change HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-starter-kit.