Comments (5)
You could switch to grunt-concurrent, which is imho much easier to use and it makes bgShell and grunt-parallel obsolete.
from generator-veams.
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.
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.
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.
grunt-concurrent is integrated in 0.4.9
from generator-veams.
Related Issues (20)
- Exclude stylelint in its own task
- Add prettier and eslint
- Read Query String parametes in hbs template. HOT 1
- Browserify: Add babel-preset-env
- Documentation: Add documentation scaffold with mangony HOT 1
- Sub-Generators: Update scaffolding process for new folder structure HOT 1
- Consider Typings in JS HOT 1
- Task Runners: Add Webpack HOT 1
- Standard project config is not set
- Split up prompts
- Add env handling to browserify
- Add yarn install process in scaffold routine
- Cross Platform NODE_ENV
- Sub Generator Blueprints:: Add prompt mixins to allow customization
- Add react eco system
- Create independent image generation task
- Create independent icon generation task
- Create fake data generation task
- Update to Webpack 4
- Add husky for pre-commit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-veams.