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

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -