Skip to content

[CLOSED] Cleaner fix for LiveDevMultiBrowser infinite loop #9046

@core-ai-bot

Description

@core-ai-bot

Issue by peterflynn
Wednesday Dec 17, 2014 at 18:44 GMT
Originally opened as adobe/brackets#10207


This is for #10193. See discussion here for context: adobe/brackets#10192 (comment).

Move shared code into FileUtils (with unit tests) to minimize diff in the _getInitialDocFromCurrent() code that is duplicated between the two Live Preview impls.

Also...

  • fixes an unhit edge case in getParentFolder() (now getParentDirectory()) that behaves differently across platforms
  • removes duplicate copy of getFilenameWithoutExtension() in LiveDevelopment.js (copy in FileUtils was identical)
  • add/fix some unit tests for two existing FileUtils APIs

peterflynn included the following code: https://github.com/adobe/brackets/pull/10207/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions