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
- Strange npm behavior when installing packages like grunt
- Gulp wont restart in any of my projects
- Gulp Sass not compiling partials
- Convert all html templates to single object and store it in a js file
- Gulp Watch Isn't Watching
- Gulp fails and returns Unhandled 'error' event
- Using Bower with Express
- Webpack Uglify plugin returns "Killed" on Ubuntu
- Not able to run 'npm install' on vagrant homestead
- WP Super Cache to create a static version of the full site
- Gulp with WebPack. Which should be building my coffee/jade etc.?
- Gulp useref concatenates js files twice
- Gulp task throwing ENOTEMPTY error in console
- gulp-ftp errors when uploading to remote path
- Watchify with gulp is not working
Related Questions in GULP-TASK
- failAfterError gulpEslint
- Watch all files saved in a folder and make changes to another file via gulp
- How to pass an argument from a gulp watcher to a task
- TypeError ... is not a function
- Set gulp-usemin task to build the content of src folder, but not create another src folder into dist
- How to increase log level of Node.js app on Docker image?
- Updated gulp to gulp 4 but can't figure out how to make simple-task-loader work
- Gulp watch callback task not firing
- Gulp task with arguments (loop call wit another args)
- How to setup Gulp task for multi level folder structure
- How to generate coverage report through gulp task in Angular 4?
- Task 'createSprite, copySpriteCSS' is not in your gulpfile
- How to get Gulp v4 watch observe file changes?
- browserSync works without sass file
- Merge multiple files css into a one file by classes with gulp
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 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: