Giter Club home page Giter Club logo

Comments (5)

HenriPodolski avatar HenriPodolski commented on June 3, 2024

You could switch to grunt-concurrent, which is imho much easier to use and it makes bgShell and grunt-parallel obsolete.

from generator-veams.

Sebastian-Fitzner avatar Sebastian-Fitzner commented on June 3, 2024

that is not the same. to speed up the workflow I decide to run native comands for compass. that is much faster than grunt-contrib-compass. to optimize the tasks in general we need grunt-concurrent or grunt-parallel. so both options are great ...

from generator-veams.

HenriPodolski avatar HenriPodolski commented on June 3, 2024

OK, I didn't know that using bgShell is faster. Did you test that by yourself or where does this information came from? I'm asking because grunt-contrib-compass uses ruby and the rubygem compass like it can be used in bgShell.

Pro using compass with bgShell:

  • there is no possible version conflict with installed version of compass, because it uses command line compass and does not add extra stuff

Contra:

  • the configuration of bgShell is more complicated and the current release of generator-prototype hides the error messages from ruby away from the user (try install generator prototype without ruby, rubygems and compass - it does not tell anything to the user - maybe stdout and stderr defaults are set to false)

from generator-veams.

Sebastian-Fitzner avatar Sebastian-Fitzner commented on June 3, 2024

bgShell is much faster. in current projects i reduced the amount from 7-9 seconds to 1-2 seconds. the problem is, that the watch task have to start compass via grunt-contrib-compass every time you change a scss-file and in my solution it works in background as independent watch task.

pro:
furthermore it adds the possibility for sourcemaps and does not throw an error like in the newer versions of grunt-corntrib-compass ...

contra:
it is a bit more difficult, but not that hard.
did not know it with the error messages. will looking for a solution.

from generator-veams.

Sebastian-Fitzner avatar Sebastian-Fitzner commented on June 3, 2024

grunt-concurrent is integrated in 0.4.9

from generator-veams.

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.