-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
git checkout <branch> causes multiple bundle popups when JS files are autogenerated #1505
Comments
Nice idea! 👍 But can you expand on:
what kind of error messages? Currently, WE uses .NET's If there is a viable demand for this feature, then it's worth taking a stab at. This would be fun coding though. And to know that, we have a uservoice channel in place: http://webessentials.uservoice.com/. Let's post the idea there and see the community's reaction! :) |
The error messages are the file missing popups. When I do a "git checkout " or do a clean (which deletes all the auto-generated JS files), then I'll get a popup for every file that's in my bundle that says something like "foo.js not found". In my case, its about 25 popups that I have to close every time I do a branch change in git. I'm not sure uservoice is right for this issue. I titled this like a feature request, but the underlying issue is the massive amounts of popups I get whenever I do a branch change in git. One possible solution is to introduce a Another simpler alternative might be to output the error in the output window rather than in a popup. (I updated the title to clarify the issue) |
True; that popup is really nagging. I think it's a brilliant idea to send those messages to output window. @SLaks, @madskristensen thoughts? Or we can implement an aggregated popup (like when closing VS with multiple unsaved documents). For that matter, we would have to build some extra machinery for it; to first confine the transaction task in asynchronous environment and prevent it from overlapping with other operation's notifications. It is also affecting other scenarios. See this discussion: #284. (we haven't tried @SLaks' method yet, but it is an interesting and challenging task and reasonable from UX perspective) |
output window sounds good, cheap and low risk |
Cool! BTW, I think @jt000 will still be facing "bundle not updating" issue, since the observer would be detached (and we would have to figure out a way to reattach it when the CSS/JS files are re-generated by superset langs). See
First, let's send the error messages to output window.. :) |
Thanks @am11 & @madskristensen. I haven't seen the "bundle not updating" issue occurring. "runOnBuild" is set to 'true' on my bundle, so if its not bundling on save it shouldn't be an issue for me. |
Actually that is a different use-case (it will not give you error, you would have to observer it): "When the user opens a solution in VS, WE starts watching all bundle files including their constituents. If you make any change in bundle or constituent file, the bundle is rebuild. In this case, that interval; where you haven't built the solution yet, any change in the constituent file will not trigger the bundle rebuild." |
@jt000, can you confirm if nightly build v2.3.4.1 fixes this issue and there is no further issue (like the one mentioned in previous comment)? If it is working, this issue can be closed as resolved. |
Sorry, just saw this was merged. Yes, I can confirm that I'm no longer seeing the popups.Thanks @am11! |
I have a project that auto-generates JS files during the build, which are included in a web essentials bundle. Whenever I change my git branch or clean my folder Web Essentials starts popping up all sorts of error messages. It'd be great if there was a way to disable bundle on save and only have bundle on build for this particular bundle (maybe a
<runOnSave>false</runOnSave>
option in the bundle file?).The text was updated successfully, but these errors were encountered: