adobe / aem-guides-wknd

Tutorial Code companion for Getting Started Developing with AEM Sites WKND Tutorial
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/overview.html
MIT License
286 stars 563 forks source link

Fix for parallel process not working on windows. #343

Closed ghost closed 1 month ago

ghost commented 2 years ago

Parallel using ampersand is not supported on windows. npm-run-all enables windows to run watch properly.

Description

Parallel processing using ampersands is not supported on Windows platform. Therefore npm run watch fails to run properly on windows.

Related Issue

Motivation and Context

Following the WKND tutorial and running across this problem has hindered mine and my colleagues progress. We came up with this solution.

How Has This Been Tested?

We tested it on Windows and Linux and it seems to perform as expected.

Screenshots (if appropriate):

Types of changes

Checklist:

ghost commented 2 years ago

I've signed Adobe open source CLA now.

godanny86 commented 2 years ago

@prupra we tend to keep this project in sync with the AEM Project Archetype. Would you mind performing a PR into that project as well? https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/ui.frontend.general/package.json#L17

ghost commented 2 years ago

@prupra we tend to keep this project in sync with the AEM Project Archetype. Would you mind performing a PR into that project as well? https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/ui.frontend.general/package.json#L17

Sorry for the delay, I will implement this in archetype now.

SachinMali commented 1 year ago

@prupra The 'npm-run-all' needs the associated module, the PR on Archetype Project needs an update. Can you please review it.

Here is the PR, https://github.com/adobe/aem-project-archetype/pull/1017