Stylus Can't Recursively Compile
See original GitHub issueIf I try to use the Stylus executable to compile, the command doesn’t recognize the **
command to recursively compile.
stylus views/stylesheets/** --out public/stylesheets/
My views/stylesheets
directory structure:
-- stylesheets
|
---- some_directory
|
---- other_directory
I’d assume that the above command would compile .styl
files from /stylesheets
as well as /stylesheets/some_directory
and /stylesheets/other_directory
here, however this only compiles at the base-level stylesheets
folder.
EDIT
It appears as though it does go into the subdirectories, however it outputs those files to the public/stylesheets
directory rather than public/stylesheets/some_directory
.
Issue Analytics
- State:
- Created 9 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Problems to run Stylus compiler - Stack Overflow
styl for compile the file i have to following error: 'Stylus' is not recognized as an internal or external command. stylus · Share....
Read more >Stack fails to build "mutually recursive" packages · Issue #2583 ...
I have a two-package project, where the library in package two depends on the library in package one . However, there's also an...
Read more >Re: Maximum recursion depth exceeded - Stylus Studio
NET language that >>> can compile and optimize for tail recursion is F#. ... Truly great madness cannot be achieved without significant intelligence....
Read more >Why rm does not work recursively by default?
I was discussing with a friend trying to figure out why rm command does not, for example, check if the path is to...
Read more >Cannot understand how Function Recursion Works on this Problem ...
Instead of receipts and a box in which you build up a literal stack of papers, in this case you have a set...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Wow. A lot of people I know including me obviously didn’t know this. That’s spectacular. I’ll give it a whirl tomorrow in my project. I would love to ditch stylus-import-tree On Tue, Dec 15, 2015 at 9:59 PM Mikhail Korepanov notifications@github.com wrote:
Well, suppose we have a directory with our
.styl
files (./test/
):tree test
Each file in the
test
dir contains something like:And main file
./main.styl
contains:Then after compiling the main file with
stylus main.styl
we will get:main.css
Looks like all is working fine.