-
Notifications
You must be signed in to change notification settings - Fork 58
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
playRunHooks ClassNotFoundException re: sbt-yeoman GruntProcess #74
Comments
Same happening with me. Any workaround to get it working? |
Yea, I created my own grunt play run hook based on the one in play-yeoman as a temp solution. With this one you need to specify the grunt task to run. I did this since I use browserify with watchify and needed a custom task that runs browserify before watch. |
Thanks for the reply. When I add the content from the gist to the build.sbt, I got the following error:
Do you have any idea what went wrong? |
Found the import that was missing:
Thanks for your help on this :) |
Thank you for your fix! I will try that as I had the same issue. |
Play version: 2.3.8
Scala version: 2.11.1
sbt-yeoman: 0.7.1
using a build.sbt file
When using play-yeoman the addition of the GruntProcess to the playRunHooks setting causes a ClassNotFoundException during execution of the playRun task or show playRunHooks.
In order to add an additional PlayRunHook instances to playRunHooks it current requires setting playRunHooks := Seq() in the build.sbt file to remove the play-yeoman hook.
show playRunHooks
output:last *:playRunHooks
output:The text was updated successfully, but these errors were encountered: