-
Notifications
You must be signed in to change notification settings - Fork 5
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
Run 'deps' in server & build tasks #2
Comments
hmmm are you sure about this? The fresh generated project contains a proper |
Have not tested recent versions lately, so I didnt yet realize However, running |
Any changes to goog.required scripts won't be mirrored in deps.js in server-mode until you explicitly launch (btw, live-reloading doesn't work in vanilla app either) |
@thanpolas err, the 'server' we're talking about here is a local dev server with livereload & whatnot and by no means a production server. |
@casio i see... So what's the issue here? I am not sure i completely understand... If it's about deps automation, then you have to setup your gruntfile as it'd fit your needs... i can help with that... or it's something else? |
@thanpolas I just created this very minor ticket as a little hint regrading developer convenience..U know, so guys checking out the generator would have a proper git clone, npm install, launch & success experience : ) Really minor, so please close as you see fit. However, @ostronom's argument might be worth considering... |
I see, i will do a full regression test soon and if all checks out i'll close the issue. for the record, i don't consider adding the Deps generation is decoupled and irrelevant with the watch tasks. The deps task needs to run whenever a change in the deps tree of your product has changed, that doesn't happen with every file change.... Personally, i have the |
I've made a new grunt-file with your closure-oriented tasks, which:
This gives a possiblity to develop not only in js, but in coffee/livescript/etc and to do a deps-run on change of .tmp/*.js to recalculate dependencies. I will share a gruntfile via gist when i'll be sure that everything works (if you want). P.S. I can't file an issue about livereload breakage, because i don't know how to fix it :) So it's probably not a bug of this software. |
Generating a project with the generator and subsequently running
grunt server
will open the app without the deps.js file existing yet.Since the tasks is rather fast, IMHO
deps
should be run at the beginning ofserver
and maybe `build, as well.The text was updated successfully, but these errors were encountered: