title: Chrome extension background.js file reload
body: <p><strong>EDIT</strong></p>
  
  <p>My chrome extension calling an api service in the background.js file and i can get the data. But after closing the browser window, i cant get the data from the api service in background.js file. It showing null value. When go to the chrome://extensions/ and reload the extension I can get the data. </p>
  
  <p>When close the browser window, the data fetched is being reset and when open the browser, data not fetching. Data can be fetched from the api only after reloading the extension.</p>
  
  <p>Why happening so. Does any one have an idea about this?</p>
  
  <p>This is my manifest.json file</p>
  
  <pre><code>{
    "manifest_version": 2,
    "icons": {
      "16": "images/icon16.png",
      "32": "images/icon32.png",
      "48": "images/icon48.png",
      "128": "images/icon128.png"
    },
    "name": "Test",
    "short_name": "Test",
    "description": "Test",
    "version": "3.0.0",
    "background": {
      "scripts": [
        "build/background-bundle.js"
      ]
    },
    "browser_action": {
      "default_popup": "popup.html"
    },
    "permissions": [
      "tabs",
      "cookies",
      "storage",
      "activeTab",
      "http://*/",
      "https://*/"
    ],
    "content_scripts": [{
      "matches": [
        "&lt;all_urls&gt;"
      ],
      "js": [
        "build/content-bundle.js"
      ],
      "run_at": "document_end"
    }], 
    "options_ui": {    
      "page": "options.html",
      "chrome_style": true 
    },
    "content_security_policy": "script-src 'self' https://www.google-analytics.com/analytics.js https://api.algorithmia.com/v1/algo/algo://nlp/SummarizeURL/0.1.1; object-src 'self'"
  }
  </code></pre>