first of all...your WebEssentials are great!
How could I tell jsHint to ignore a couple of files(third party stuff)?
It seems, that jsHint does not recognises .jshintignore at the root of my project.
Did you integrated any other solution?
Web Essentials rocks... but it would rock even more if we could automagically create .d.ts files (via the --declaration command line option). This would solve a long-standing issue with having to have tons of files checked out to even save a .ts file (with references) and may even go some way to speeding up opening and building our solution.
Pretty please with cherries on top :)
1. It doesn't seem to be playing nice with some of the new generics, reporting errors where there are none:
// using latest knockout.d.ts
var portText = ko.observable("");
portText(""); // this line generates the error: "Could not select overload for 'call' expression." It compiles error free and executes fine tho.
The compiler doesn't complain, but the IDE underlines the code in red and appears in the "Error List" section.
The sources property in the generated .map file seems to always include the relative path from the root of the server. The problem is that our applications use virtual directories and therefore these references don't work when trying to debug from the browser. It all seems unnecessary too since the bundling is happening at a folder level so you could always assume the reference is relative to the map file. We are having to add a post build step to fix our references in the "sources" property after each time Web Essentials messes them up.
Other than that, great job ;)
I've just noticed that in my sln tree the icons of .ts-files became 'media-playerish' (old-style 'film' icon with the 'play' sign on it), and the same time Web Essentials seems to know nothing of the .ts-files. Symptoms:
- ts-files are opened in VS by plain text editor; no intellisense, no generation on save;
- no generation on build if set;
How to fix it? Reinstalling of WE didn't help. Nor did setting Windows file '.ts' association from Media Player to VS.
In my project I have the following directories :
component.less contains the following style :
background: url(../images/triangle_v3_top.png) no-repeat;
The component.less file is imported in core.less :
In the core.css file generated I have this :
background: url(composants\../images/triangle_v3_bottom.png) no-repeat;
The backgroug url is wrong, it must be :
background: url(../images/triangle_v3_bottom.png) no-repeat;
When I use Prepros to build less file (http://alphapixels.com/prepros/) the url is correct.
I have a CSS bundle and no matter what I try, it won't update. When I make modifications to a .less file and save it, the corresponding .css file is updated. Then I try to build the website or I go the to Web Essentials menu under BUILD and select "update all bundles" but nothing happens.
I had a similar issue but with just the minified versions of the bundles. For me, if I removed one of the <file> entries from the .bundle file, saved, then added it again, the bundle would get updated properly. Hope it helps!
When i save my less files they do not get minifyed even if I have set it to create .min.css
Output says :
LESS: Compiling _styles.less
But no min.css or css either. What can be wrong here?
I'm attempting to use the 'compile on build' option for less and it doesn't seem to be working. (latest version, 2.7) I change a dependent file, hit compile and the main less file that imports that file doesn't get rebuilt. The only way I can get the main less file to regenerate the css is to go into it directly and hit save. Am I doing something wrong?