• Jobs
  • About Us
  • Jobs
    • Home
    • Jobs
    • Courses and challenges
  • Businesses
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

1.8K
Views
Clear angular cache in .angular folder

From version 13.0.0 there will be a .angular folder generated in root which is ignored by git containing a cache folder which caches builds.

How can I remove (or clear) this cache?

over 3 years ago · Santiago Trujillo
1 answers
Answer question

0

You can configure caching options of cli in angular.json file. One of options is cache which gives you the option of disabling it.

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "cli": {
    "cache": {
      "enabled": false
    }
  },
  "projects": {}
}

You can disable it by running this command too:

ng config cli.cache.enabled false
  • To clear the cache on Unix-based operating systems:
rm -rf .angular/cache
  • To clear the cache on Windows:
rmdir /s /q .angular/cache

You can find out more about it in docs.

over 3 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Show me some job opportunities
There's an error!