I just started learning gulp here I had written the task and run after run the task nothing is changed in my CSS file vendor prefixes are not added. I'm trying to add vendor prefixes and compress my CSS files. Can anyone suggest me. Is there my directory path is correct what I'm doing wrong here? why it is not working. And I used the latest version 4.0.1
Gulp task is not working and even not shows any error
126 Views Asked by Husna At
1
There are 1 best solutions below
Related Questions in GULP
- the gulp-pug doesn't work and say unexpected token "indent"
- Use Gulp Newer on Array of Sources
- When I try to install gulp, these errors come up and I cant figure out how to fix them
- How do I run PurgeCSS on local URLs?
- how do I run gulp with error globalThis is not defined
- im getting 'local gulp not found' in an old angularjs code despite doing npm install and also installing gulp packages
- Can I use sass instead of node-sass in suiteCommerce project?
- How to build SAPUI5 application that should only have "component-preload.js"?
- gulpfile not compiling js and css on save
- Error when compliling sass - node and gulp
- regeneratorRuntime is not defined with gulp
- BrowserSync not working when on LTE connection or no Internet Connection
- How to minify html files in folders and subfolders using gulp?
- Expose $ and jQuery to global scope with Typescript, Browserify and Gulp
- Bundling separate vendor file with gulp+browserify
Related Questions in GULP-TASK
- How can I use Gulp to build all projects under a specific folder within my ASP.NET MVC solution?
- Set gulp-usemin task to build the content of src folder, but not create another src folder into dist
- How to assign a name to an anonymous gulp (v4) task
- Task 'createSprite, copySpriteCSS' is not in your gulpfile
- Gulp re-processes unchanged files
- Updated gulp to gulp 4 but can't figure out how to make simple-task-loader work
- Error on gulp build during migration from gulp v3 to v4
- Migration from gulp v3 to v4
- How to get Gulp v4 watch observe file changes?
- Gulp task is not working and even not shows any error
- write callback called multiple times
- Issue in running gulp.series()
- browserSync works without sass file
- nodemon + browserSync gulp task causes EADDRINUSE :::3000 error
- How to pass an argument from a gulp watcher to a task
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?


First argument of
gulp.src()have to be glob pointing to file/files.So first argument of src() should look like:
./assets/css/app.css(to match specific file)./assets/css/*.css(to match all files with ext .css in directory)./assets/css/**/*.css(to match all files with ext .css indirectory with subdirectorys)
./assets/css/**/*(to match all files)Also it is not good idea to use same input and output directory. Because after first run of task your source file will be ruined.
Maybe better idea is to use structure similar to that: