Giter Club home page Giter Club logo

Comments (9)

matteosister avatar matteosister commented on September 26, 2024

😃
thank you for reporting this...

Looks like the error is generated in the data collector...
could you please try to remove the service from the container by removing these lines, clear the cache and see if the problem is gone?

from compasselephantbundle.

Schyzophrenic avatar Schyzophrenic commented on September 26, 2024

Thank you for your quick reply!

I have removed the data_collector.cypress_compass_elephant service definition from the listener.xml file and the error is gone (nothing in the profiler anymore) but the file is not updated (but I believe this service must be useful at some point :) )

from compasselephantbundle.

matteosister avatar matteosister commented on September 26, 2024

in fact the bundle should work well without the collector, it is responsible only of the profiler...have you tried to change something in the sass file (or touch it from the command line) just to trigger the update?

from compasselephantbundle.

Schyzophrenic avatar Schyzophrenic commented on September 26, 2024

I just performed a few more tests.

In that case, I change the _settings.scss file, which is where we store our variables.
Even with the service removed, the new css file is not built and therefore not caught by the assetic:dump --watch option.

Nonetheless, I have noticed that the php app/console cypress🧭compile command generates the file properly (and it is well caught by the assetic process)

from compasselephantbundle.

matteosister avatar matteosister commented on September 26, 2024

This is why this bundle exists at all. Assetic do not recognize well the assets dependencies. So now (without the collector) everything should work well right?

from compasselephantbundle.

Schyzophrenic avatar Schyzophrenic commented on September 26, 2024

Sorry, I might have confused you with my setup.
Please let me elaborate on what is the issue (and remove assetic from the equation).

On my machine:

  1. I change _settings.scss
  2. I display the home page
  3. A new css file (style.css) is generated (it is generated outside the web folder and is picked up by assetic, but that it does not seem to be the issue)

On my colleague's machine:

  1. I change _settings.scss
  2. I display the home page
  3. The style.css is not generated. Since we have an error, I believe the compass listener works properly but the generation fails at some point.

Assetic is not really related, sorry I should have simplified the problem.

Right now, I have no clue of what is going on and what I could do to continue the investigation. If you have leads, I would be happy to investigate.
Thanks again! 👍

from compasselephantbundle.

matteosister avatar matteosister commented on September 26, 2024

also here no clues 😃

try to investigate further and let me know if you find something useful.
The only things I can suggest is to find that little difference between your setups. If it works for you (and for me) it should work for your colleague too!

from compasselephantbundle.

Schyzophrenic avatar Schyzophrenic commented on September 26, 2024

Thank you for the time spent on this issue.
For the time being, my colleague uses a compass watch in order to make the whole thing works.
Nonetheless, I will try to gather more information. Maybe the debug mode could help solving this mystery!
Thanks again for your work!

from compasselephantbundle.

matteosister avatar matteosister commented on September 26, 2024

let me know if you find the light! Maybe it's a bug that could be fixed...

from compasselephantbundle.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.