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

Docker support #44

Closed
P-Storm opened this issue Dec 14, 2021 · 4 comments
Closed

Docker support #44

P-Storm opened this issue Dec 14, 2021 · 4 comments

Comments

@P-Storm
Copy link

P-Storm commented Dec 14, 2021

Currently the code below is throwing an error (as is logical) in a docker container.

builder.Services.AddSassCompiler();

Maybe add a note that it isn't supported in docker container (also discovered that hot reload isn't standard enabled in a docker container).

@sleeuwen
Copy link
Collaborator

Hi, thanks for reporting this, I don't work much with docker so I wasn't aware that it didn't work. I will definitely add a note to the readme about that.

I understand it you're using a docker container during development, correct? I think it's worth investigating if we can make it work for that scenario, but I don't have much experience with developing in a docker container so I'll have to look into it to see what we can do.

@koenvzeijl
Copy link
Owner

@P-Storm Could you try to check if your issue has been resolved with the latest version?

@koenvzeijl
Copy link
Owner

@P-Storm I will close this for now. If the problem still occurs, feel free to open this again

@Neurion
Copy link

Neurion commented Oct 27, 2024

While builder.Services.AddSassCompiler(); doesn't throw errors for me in a dev container, the watcher doesn't work. I have to restart dotnet watch for the SASS to compile. I'm using version 1.80.4 of the NuGet package.

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