I created an after_prepare
hook :
#!/usr/bin/env node
module.exports = function(context) {
... some code
console.log('Hey, a hook');
}
When I run cordova build android
, I see in the terminal that it says it is running my hook but it seems like it's not running the module.exports function, because the console.log isn't shown in the console.