Skip to content
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

targetdirectory: Relative Directory to Current File #5

Open
goesredy opened this issue May 7, 2020 · 4 comments
Open

targetdirectory: Relative Directory to Current File #5

goesredy opened this issue May 7, 2020 · 4 comments

Comments

@goesredy
Copy link

goesredy commented May 7, 2020

My SCSS directory tree (example):

  • assets/
    • css/
    • scss/

Is there a way to make the watcher put compiled css in css folder ( relative file_path instead relative to project folder ) ?
I don't think I can use directory relative to file_path, because only relative to project root is available.

@akkumar
Copy link
Contributor

akkumar commented May 8, 2020

Sorry - at this moment - targetDirectory applies only relative to projectRoot.

The interpretation becomes more hazy if targetDirectory changes for every file depending on the location.

Can you specify assets\css as targetDirectory and would that help your case though ?

@goesredy
Copy link
Author

@akkumar Yes, but if I work with multiple environment (eg. html and php app), this will need manual replace.
But really big thanks if this will available in the future.

@jeffglynn
Copy link

Sure would be nice to be able to specify relative output path to the current file

@developedsoftware
Copy link

We have this exact same requirement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants