Skip to content

Incompatibility with gulp + browsersync (Studio Pro 8.8.0) #2

@EthanS-QVine

Description

@EthanS-QVine

When using gulp + browsersync, if the home page uses the SetURL widget and the URL entered is two or more deep (e.g. "/one/two"), the injected element's href is incorrect. A substring of everything before the last slash in the SetURL's value is added in between the localhost address and the path to the main.css file.

Attached is an example project demonstrating the issue. By changing the default home page in the Project Navigation the issue can be replicated. If the default home page is the "SetURL_Multiple" page, browsersync does not work properly. If the default home page is one of the other two pages, "NoSetURL" or "SetURL_Single", browsersync works as expected.

Browsersync_SetURL_Example.zip
Browsersync_SetURL_Example-MPR.zip

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