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

SBT_OPTS which alters sbt output will break the plugin #19

Open
kalejami opened this issue Dec 11, 2023 · 1 comment
Open

SBT_OPTS which alters sbt output will break the plugin #19

kalejami opened this issue Dec 11, 2023 · 1 comment

Comments

@kalejami
Copy link

... because the plugins reads the last(?) line from sbt output as path where to find the main.js file.

Here is one example with sbt.task.timings

https://github.com/kalejami/vite-sandbox

The plugin thinks that the output from timings is the path to the main.js file.

Not sure how to fix this.

@cornerman
Copy link

The same is happening when running sbt in native-client mode by default. Then the additional sbt options will have no effect (as the server already started). In this case, it will fail finding the file path, because there are colors in the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants