Skip to content

Change ugly hack to make _filesync work with es6 builds #173

@psvensson

Description

@psvensson

Due to reasons, it was nontrivial to just detect file changes in a _filescyn directory anywhere in an es6 project, since basedir got magically remapped to basedir+wwwPath between detection and injection. A quick fix was inflicted on the studio to see if the path ended in /www and then instead check in foo.replace('www','app'). That's no way to behave at a rock'n'roll concert, but time was short.

Revisit this and give it some more love, possible in combination with moving to a proper app registry instead of setting lots of globals when apps change. Plz.

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