-
Notifications
You must be signed in to change notification settings - Fork 101
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
Improve caching behavior for tasks #93
Comments
For the For package.json, indeed the caching mechanism used is wrong. What do you mean by “the generated data”? |
@julienrf, By "generated data" I mean the generated json string. Though simply concatenating all the relevant input to |
Thanks for detailed explanation. I think we should go with a key for the monitored files. |
This would be very useful for me too. |
webpack task
Current implementation of the
webpack
task only actually launches webpack if one the following changes:package.json
,scalajs.webpack.config.js
).scalajs
.This is a major inconvenience in the following use cases:
There is currently no satisfactory way to circumvent this behavior. Here are a few ideas:
package.json generation
Current implementation only regenerates
package.json
if running with changed sbtConfiguration
(Compile
,Test
, etc.). This means that changingnpmDependencies
/npmDevDependencies
won't triggerpackage.json
update.Possible solutions:
PackageJsonTasks.scala
.The text was updated successfully, but these errors were encountered: