Skip to content

bin/watch-*.sh scripts always install dependencies #147

@Wysselbie

Description

PHP Version

7.4.3

Shopware Version

6.4.10.0

Expected behaviour

If the bin/watch-administration.sh and bin/watch-storefront.sh scripts have been used recently and the node dependencies have been installed, they won't be installed again by executing bin/watch-administration.sh and bin/watch-storefront.sh again.

Actual behaviour

Every time the bin/watch-administration.sh and bin/watch-storefront.sh scripts will be used, the node dependencies will be installed again.

How to reproduce

Build JS, use a watcher script and cancel it after everything is ready.

bin/build-js.sh
bin/watch-administration.sh

Execute the same watcher script again and notice, that all node dependencies will be downloaded again.

bin/watch-administration.sh

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