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

Fixed reload problem for extensions #1555

Merged
merged 2 commits into from
Sep 5, 2012
Merged

Fixed reload problem for extensions #1555

merged 2 commits into from
Sep 5, 2012

Conversation

jrowny
Copy link
Contributor

@jrowny jrowny commented Sep 5, 2012

Fixes issue #1551 but extensions will never be cached. Not sure if there are any real world performance implications, but it could be made optional on build versions.

@ghost ghost assigned redmunds Sep 5, 2012
@redmunds
Copy link
Contributor

redmunds commented Sep 5, 2012

reviewing

@@ -68,6 +68,7 @@ define(function (require, exports, module) {
extensionRequire = brackets.libRequire.config({
context: name,
baseUrl: config.baseUrl,
urlArgs: "nocache=" + (new Date()).getTime(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Please add a comment to the code to explain what this does. When I saw a param called "nocache", I was expecting you could just use "nocache=true", so please explain why a unique value is required.

@redmunds
Copy link
Contributor

redmunds commented Sep 5, 2012

Looks good. Merging.

redmunds added a commit that referenced this pull request Sep 5, 2012
Fixed reload problem for extensions
@redmunds redmunds merged commit 024e12f into adobe:master Sep 5, 2012
redmunds added a commit that referenced this pull request Sep 6, 2012
revert pull #1555 (Fixed reload problem for extensions) -- using nocache causes problems with breakpoints
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants