-
Notifications
You must be signed in to change notification settings - Fork 42
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
Identify missing web resources during wisdom:run #247
Comments
Do you mean logging a message when the resource controller and the webjar controller (these two controllers are serving respectively the assets and the webjar resources) can't find the requested assets ? To do this, no need for a watcher. |
On 30/06/2014 19:01, Clement Escoffier wrote:
No. My issue was that I was writing an HTML page using angular.js script. what I want is that, when I save an HTML page, contained links are This led me into the Watcher direction.
So I guess logging bad resources paths in the resource and webjar Nicolas Delsaux |
Oh I see ! Actually, it might be possible if you are only looking for self-contained application (an application containing all its assets). In that case you can check / deduce what are the available assets and generate a pipeline error is something is missing. |
Just for information, in #13 we have extended the
If Wisdom is not able to compute one of these urls, a page explaining the error is displayed (see image) |
On 02/07/2014 09:26, Clement Escoffier wrote:
Nicolas Delsaux |
I've implemented this feature last night (despite the low issue number). On 2 juil. 2014, at 14:09, Nicolas Delsaux [email protected] wrote: On 02/07/2014 09:26, Clement Escoffier wrote:
Nicolas Delsaux — |
I've made some documentation (in the master branch). |
When updating an HTML file, it would be of great help to have wisdom identify missing ressources, be them scripts or images.
Typically, I would like to have
wisdom:run
show me the missing assets in the console.Ideally, that error message would use data provided by #245 to show available ressources (or a subset of them if possible).
I guess it could be possible to do it using a wisdom
Watcher
, no ? (don't yet know how to do it, however)The text was updated successfully, but these errors were encountered: