Gulp production build terminated

I am using angular 1.4.14, bower 1.8.0 and npm 3.6.0. I have used the following yeoman generator,, to setup my project. I have full fledged web-ui ready in development mode when i run "gulp" cmd. But ...
more »

2017-10-11 19:10 (0) Answers

Gulp is not compiling SCSS to CSS

I am new to gulp sass so I am currently learning with this The current topic I am working from the above link is #Preprocessing with Gulp All the stuff is getting fine until I test my sass file after testi...
more »

2017-10-04 09:10 (3) Answers

Gulp, Grunt or Dgeni as doc tool in an angularJS

Documentations are always a complicated topic. The need of constant updates and an extra work (that doesn't generate value in short-term) makes it a non priority when coding and many times ignored necessity. I know that one must always focus on doc...
more »

2017-09-22 23:09 (0) Answers

Integrating Gulp and bower into Zend Project

The issue is, I would like to use all benefits of tasks runner and bower into my existing Zend-Project. I'm not sure, how should I restructure my whole project folder. My current structure looks like follows: config module vendor public...
more »

2017-07-03 11:07 (0) Answers

how to remove templateCache with gulp?

i use angular-template-cache. follow code exist for remove template cache in app module but i need to remove all templateCache with gulp on dev machine.$rootScope, $templateCache) { $rootScope.$on('$viewContentLoaded', functio...
more »

2017-05-31 14:05 (1) Answers

karma unable to find test files

I am using karma, browserify and babelify to run unit tests for angular 2. Whenever I run it it fails with a 404 error like this 25 05 2017 11:35:22.974:WARN [web-server]: 404: /C://Users//me//git//proj-ng//modules//pack\\src//test.service.spec.js ...
more »

2017-05-25 19:05 (0) Answers

Running Gulp in post-receive hook after Git push

I have a Git workflow where I'm pushing my Git updates to a bare repo which triggers the following post-receive hook: #!/bin/sh git --work-tree=/home/website/stage/public_html --git-dir=/home/website/stage/website.git checkout -f cd /home/website/...
more »

2017-05-19 17:05 (2) Answers

Gulp SVN Pre commit hook

I am using SVN and I have a Gulp task runner which runs an ESLint task. I would like to know how to set this up as a pre commit hook so that the commit is only performed after successfully running the Gulp task. Thanks in advance! ...
more »

2017-05-15 15:05 (0) Answers

How to disable comments on "twig"?

I use gulp-twig and handlebars.js in the project I work in the file index.twig In twig the symbol # means a comment. For the handlebars template, I need to use the {{#each}} line But twig perceives it as a comment, how to be? I'm sorry for bad E...
more »

2017-03-14 14:03 (2) Answers

Gulp secondary assets

I have Gulp compiling all my JS and CSS into combined files and outputting to /public/assets/js/application.js or /public/assets/js/application.css This is all great but things like URL paths to linked files like CSS background images etc now no lon...
more »

2017-01-01 13:01 (2) Answers

Data from Mongo in Gulp using Gulp Data

How can I get data from my Mongo database to pipe in Gulp as a data source when using Gulp Data? Gulp Task (simplified) gulp.task('db-test', function() { return gulp.src('./examples/test3.html') .pipe(data(function(file, cb) { ...
more »

2016-12-18 23:12 (1) Answers

Angular module not available with Gulp Babel

I am getting the following error in my Angular app after adding gulp babel to my gulp file. I need this to transpile and minify my ES6: Cannot set property '0' of undefined I'm thinking angular-file-saver doesn't like to babelfication. Causing...
more »

2016-12-01 04:12 (0) Answers

How to use npm with ASP.NET Core

I'm using npm to manage the jQuery, Bootstrap, Font Awesome and similar client libraries I need for my ASP.NET Core application. The approach that worked for me started by adding a package.json file to the project, that looks like this: { "vers...
more »

2016-06-21 06:06 (4) Answers