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

Npm should run as a service in dev #5846

Closed
alexgarel opened this issue Oct 6, 2021 · 0 comments · Fixed by #6232
Closed

Npm should run as a service in dev #5846

alexgarel opened this issue Oct 6, 2021 · 0 comments · Fixed by #6232
Assignees
Labels
🐛 bug This is a bug, not a feature request.

Comments

@alexgarel
Copy link
Member

Describe the bug

This is a sister issue to #5845, the bug is the same.

But in this case we would also like that updating a resource do not cost time to the developer. Also we want to follow common practices.

To Reproduce

see #5845

Expected behavior

In dev we want any change to CSS / JS and so on, to be imediatly taken into account.

The usual way to do this in dev is to

  • have a node container running (should run only in dev, we can add it to dev.yml)
  • this containe should run npm run serve
  • nginx request for resources should redirect to it but ONLY in dev (we have to play on nginx configuration for that)

Screenshots

No response

Additional context

No response

Type of device

Other

Browser version

No response

Number of products impacted

No response

Time per product

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug, not a feature request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant