![]() Grunt.registerTask('default', ) ĭifferent plugins we initialize in the grunt file may have different ways to initialize and may have different options.įew things that are must in a grunt file are: Grunt.loadNpmTasks('grunt-contrib-watch') Grunt.loadNpmTasks('grunt-contrib-jade') Grunt.loadNpmTasks('grunt-contrib-less') "css/style.css": "css/style.less" //destination file and source fileįiles: , (npm install grunt-contrib-watch –save-dev)įor this you have to create a gruntfile.js like this.grunt-contrib-watch – it watches the changes and runt grunt on each change. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |