Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1555 from jrowny/1551
Browse files Browse the repository at this point in the history
Fixed reload problem for extensions
  • Loading branch information
redmunds committed Sep 5, 2012
2 parents cab72d4 + 3471743 commit 024e12f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/ExtensionLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ define(function (require, exports, module) {
extensionRequire = brackets.libRequire.config({
context: name,
baseUrl: config.baseUrl,
// Force extensions to not be cached by passing a unique value (time) as a URL argument
urlArgs: "nocache=" + (new Date()).getTime(),
/* FIXME (issue #1087): can we pass this from the global require context instead of hardcoding twice? */
paths: globalConfig,
locale: window.localStorage.getItem("locale") || brackets.app.language
Expand Down

0 comments on commit 024e12f

Please sign in to comment.