Giter Site home page Giter Site logo

Comments (7)

pocketjoso avatar pocketjoso commented on May 18, 2024

To be fair here, I must ask:

Am I right in thinking this should be done by the Node module? Or should it be left to the end user to log something in the callback function?

from penthouse.

fatso83 avatar fatso83 commented on May 18, 2024

The node module should not output anything. That does not stop us from doing it in the stand alone version! Once we remove the old behaviour of outputting the result to stdout, and rather output all css to file, stdout will be strictly for user viewable output in the standalone process. We simply refrain from using it in the Node module. The node module uses anything output on stderr, so don't use that for debug output.

from penthouse.

fatso83 avatar fatso83 commented on May 18, 2024

So in essence, you can sprinkle as many console.log statements you feel like in core.js, as it won't affect the standalone at all (after we remove the old behaviour, at least)

from penthouse.

fatso83 avatar fatso83 commented on May 18, 2024

Any reason this is open still? Seems resolved to me (as a kind of #wont-fix)

from penthouse.

pocketjoso avatar pocketjoso commented on May 18, 2024

I still want some progress when the command is run; if you're saying it's a no go for a Node module, then at least for the standalone version.

So would the idea be then to conditionally add log statements when in standalone mode?

from penthouse.

fatso83 avatar fatso83 commented on May 18, 2024

Closing? Ref #41

from penthouse.

pocketjoso avatar pocketjoso commented on May 18, 2024

Yep.

from penthouse.

Related Issues (20)

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.