gruntjs - grunt-text-replace doesn't work -


i installed grunt-text-replace npm install grunt-text-replace --save-dev command , add grunt.loadnpmtasks('grunt-text-replace'); gruntfile.js , add write this:

replace: {     example: {         src: ['css/mystyle.css'],         overwrite: true,               replacements: [{             from: 'wizard',                   // string replacement              to: 'wizardstep'         }]     } } 

then run grunt replace in command line , after show me done, without error replacement doesn't work , applied.

unfortunately entered path incorrectly , other hand grunt-text-replace doesn't show me message if source file path incorrect.

just correct source path


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -