-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
If using stylus package it is not possible to run from anywhere else than root directory #1655
Comments
Here is example repository. Go into
|
Thanks for the clear repro. I have replicated this. It sure looks like a bug. Will look into it. |
I don't think this is the case anymore, especially not in Meteor 1.2 since we have rewritten this package from the ground up. |
I can confirm the bug still exists in Meteor 1.5:
As seen from the log, I'm using the legacy "packages/" structure within the app. |
upd: to bypass the issue I have to trigger the live reload by modifying the file in which the error occurs (e.g. main.styl in case of the example). I now get two of these errors in my project, as I am now using stylus in more than one package. @meteor, please fix this one! |
@vflyson Can you link to a small, runnable reproduction (using Meteor 1.5.1) that demonstrates this issue (see Reporting a bug in Meteor)? |
Fo shizzle @hwillson |
upd:
It seems like most people use the unofficial package |
Hi @vflyson - if you adjust your api.addFiles([
'css/main.styl',
'css/general.import.styl',
'html/index.html',
], 'client'); things should work properly. This isn't a |
Hey @hwillson |
On my side when I run your repro locally (using the Meteor Tool), without making any changes, it works properly first try: The only time I get an issue is when I try to |
Could you please try running |
Debian x86_64 here, here're the steps on my end:
And I get
right away. It is likely that the live reload conflicts with how stylus imports files upon initial Meteor start, and it is likely related to code responsible for inotify on Linux (perhaps you're using macOS, @hwillson?). |
If using stylus package it is not possible to run Meteor from anywhere else than root directory. So if you run Meteor from
client
orserver
directory you get Stylus errors.The text was updated successfully, but these errors were encountered: