Thanks I was confusing clearing the cache with clearing out /
deleteing all node_modules and bower_component directories.


On 1 February 2015 at 23:16, Aria Stewart <[email protected]> wrote:
>
>> On 1 Feb 2015, at 17:50, Aaron Gray <[email protected]> wrote:
>>
>> Hi I have a  :-
>>
>>  "scripts": {
>>    "install": "cd public && bower install"
>>  }
>>
>> I wanted a :-
>>
>>  "scripts": {
>>    ...
>>    "cache.clean": "cd public && bower cache clean"
>>  },
>>
>> but cannot work out how to specify it if it is allowed ?
>>
>> any thanks in advance,
>
> There is no npm lifecycle script for cache clearing -- it's a global action, 
> not related to your package at all. so, too, is the bower cache, I believe.
>
> However, if you're needing to clear the cache, you've either found a bug in 
> npm, or using an old version. I strongly suggest using the latest npm, 
> clearing your cache after the upgrade, and then not doing that any more.
>
> Aria
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules: 
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/nodejs/80C64610-6418-43B0-A69A-08DFFAB23100%40dinhe.net.
> For more options, visit https://groups.google.com/d/optout.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CANkmNDeKJ4eR26i60tTRhhXZoW9n7c%3Dv6X6RzE_tNf6Y%2BMrkRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to