Comments (4)
Can you provide example configuration? I'm sorry I cannot understand your problem.
I use gulp-progeny and gulp-stylus every day and nothing seems go wrong.
from gulp-progeny.
Sure!
mkdir test
cd test
mkdir styles
package.json:
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"gulp": "^3.9.0",
"gulp-cached": "^1.1.0",
"gulp-progeny": "^0.1.2",
"gulp-rename": "^1.2.2",
"gulp-stylus": "^2.0.6",
"livescript": "^1.4.0"
}
}
gulpfile.ls: (LiveScript, hope that's okay)
require! <[ gulp gulp-stylus gulp-progeny gulp-rename ]>
gulp.task \failing, ->
gulp.src ['**/*.styl'], cwd: \styles
.pipe gulp-stylus!
.pipe gulp-progeny!
.pipe gulp.dest \build
gulp.task \working, ->
gulp.src ['**/*.styl'], cwd: \styles
.pipe gulp-stylus!
.pipe gulp-rename extname: \.styl
.pipe gulp-progeny!
.pipe gulp-rename extname: \.css
.pipe gulp.dest \build
gulp.task \default, <[ failing ]>
styles/index.styl:
body
background: green
Run the test cases:
npm install
gulp failing # Should throw "Error: no writecb in Transform class"
gulp working # Should work
from gulp-progeny.
Oops, I think progeny should go before stylus. Just like the #example.
Internally progeny checks whether dependency files exists, but if the file is provided by gulp, it skip checking.
from gulp-progeny.
Haha, what a dumb mistake by me :D
Thanks for pointing it out, and for the quick replies!
from gulp-progeny.
Related Issues (20)
- Reverse Progeny HOT 10
- contribute back to progeny HOT 2
- Example for .less files please HOT 1
- dependency graph not updated after first file read HOT 4
- Deep dependency detection deficiency HOT 1
- Consider dependency parser as separate components HOT 4
- Sync reading files HOT 12
- Should use Vinyl objects instead of reading from the file system HOT 4
- Error when deleting cache[child] in pushFileRecursive HOT 2
- Issue with many levels of dependencies HOT 13
- internal depCache gets overridden when using merge-stream HOT 1
- Doesn't handle glob imports (Stylus) HOT 2
- Support for progeny's altPaths HOT 4
- Update description HOT 4
- Add license HOT 1
- Exposing cache data HOT 9
- Usage with gulp-pug and includes HOT 5
- Error on included Pug partials HOT 2
- Move `fancy-log` to `devDependencies`
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-progeny.