Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch mode inside build creates an infinite build #392

Open
poi33 opened this issue Dec 29, 2023 · 0 comments
Open

Watch mode inside build creates an infinite build #392

poi33 opened this issue Dec 29, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@poi33
Copy link
Contributor

poi33 commented Dec 29, 2023

Following the tsup starter guide/tutorial running is done with enonic dev

This starts a new gradle build creates a build that incorporates npm watch.
(The build also takes a really long time to downloud all npm packages and node.js)

This gives a bad experience since it will look like the build never finishes.

Can we seperate the commands of watching and building?
First build (let it finish)
Second run npm watch or gradlew watch (if gradle task is needed)

This will probably affect the https://github.com/enonic/cli-enonic enonic and will require changes in that repo too.

@poi33 poi33 added the enhancement New feature or request label Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants