-
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
The Play run hook runs 'watch' instead of 'serve' #82
Comments
The plugin executes |
Sure, here is my |
In your Can you please check if everything works correctly with the following steps?
Make changes to a sass file and see if its reflected. |
Running the following commands results in the
however that is not my problem. My problem is the following:
At this point, as you would expect, the
in this case, If I touch the |
My usual workflow with Play is to keep the SBT
run
task running during development, taking advantage of the automatic recompilation in Play. I'm trying to add a Javascript frontend build with the Yeoman/Grunt/Bower toolchain, which has worked great thanks to your plugin. However, there's an issue with the Play run hook that breaks my usual workflow. I'm too new to the use of this plugin to know if this is a bug or if more experienced developers use a different workflow, so allow me to describe the issue and you decide:When I run a
run
command in SBT, the Play run hook in insbt-yeoman
runs based on this code:This runs
grunt watch
, but this doesn't run tasks likeconcurrent:server
, which runs Compass and generates the CSS files in.tmp
. Because of this, I have to manually rungrunt concurrent:server
first, beforerun
. It seems to me that the Play run hook should runserve
instead ofwatch
, particularly since the instructions in the README for play-yeoman suggest commenting out theconnect:livereload
line inGruntfile.js
.The text was updated successfully, but these errors were encountered: