-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does asset-builder respect Gulp's cwd option? #51
Comments
OK, I have absolute path to
Still wondering if there is a better way though ... |
Weirdly enough, I've just noticed, that the absolute path to my
So I ended up with:
|
So this behavior comes from https://github.com/ck86/main-bower-files. I definitely want to expose the option to either make all of the globs absolute or all of the globs relative. You are bringing up an interesting point and I definitely want to support your usecase. Perhaps I should add a "cwd" option to the main entry function and the "make relative"/"make absolute" respect it? The default CWD could be whatever directory your gulpfile lives in. |
Sounds cool! I will stay tuned - however my current "fix" works, so no pressure. :) |
Hello!
I use Asset-builder with gulp-hub plugin, that allows to run tasks from multiple Gulpfiles specified at project's root.
This is a simplified version of my setup:
This way, I can run ...
... to avoid manually CDing to each plugin folder and all the relevant files are watched by Gulp as they supposed to.
This setup works with asset manifest only if I hardcode absolute paths to
manifest.json
.I tried to make it work by specifying
cwd
option to my (e.g.) sass task like this ...... but it doesn't seem to have any effect. Do I do something wrong or is there some another recommended setup for such case?
Thank you very much in advance!
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26806181-does-asset-builder-respect-gulp-s-cwd-option?utm_campaign=plugin&utm_content=tracker%2F8853550&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8853550&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: