{"action":"closed","issue":{"url":"https://api.github.com/repos/greypants/gulp-starter/issues/126","labels_url":"https://api.github.com/repos/greypants/gulp-starter/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/greypants/gulp-starter/issues/126/comments","events_url":"https://api.github.com/repos/greypants/gulp-starter/issues/126/events","html_url":"https://github.com/greypants/gulp-starter/issues/126","id":69110323,"number":126,"title":"Sourcemaps not generated?","user":{"login":"ConneXNL","id":971199,"avatar_url":"https://avatars.githubusercontent.com/u/971199?v=3","gravatar_id":"","url":"https://api.github.com/users/ConneXNL","html_url":"https://github.com/ConneXNL","followers_url":"https://api.github.com/users/ConneXNL/followers","following_url":"https://api.github.com/users/ConneXNL/following{/other_user}","gists_url":"https://api.github.com/users/ConneXNL/gists{/gist_id}","starred_url":"https://api.github.com/users/ConneXNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConneXNL/subscriptions","organizations_url":"https://api.github.com/users/ConneXNL/orgs","repos_url":"https://api.github.com/users/ConneXNL/repos","events_url":"https://api.github.com/users/ConneXNL/events{/privacy}","received_events_url":"https://api.github.com/users/ConneXNL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-17T10:18:01Z","updated_at":"2015-04-17T14:14:09Z","closed_at":"2015-04-17T14:14:09Z","body":"Is this setup supposed to generate source map files? Before I found this library I used this configuration for browserify:\r\nhttps://github.com/gulpjs/gulp/blob/master/docs/recipes/fast-browserify-builds-with-watchify.md\r\n\r\nIn order to get the source maps to show up I added the following to the browserify task:\r\n\r\nAt the top I added:\r\n\r\n        var sourcemaps = require('gulp-sourcemaps');\r\n        var buffer = require('vinyl-buffer');\r\n        var gulpif = require('gulp-if');\r\n\r\nAfter .pipe(source(bundleConfig.outputName)) I added:\r\n\r\n        // optional, remove if you don't need to buffer file contents\r\n        .pipe(gulpif(devMode, buffer()))\r\n\r\n        // optional, remove if you dont want sourcemaps\r\n        .pipe(gulpif(devMode, sourcemaps.init({loadMaps: true}))) // loads map from browserify file\r\n\r\n        // Add transformation tasks to the pipeline here.\r\n        .pipe(gulpif(devMode, sourcemaps.write('./'))) // writes .map file\r\n\r\nAm I missing something? I am using livereload instead of browserSync, is that the reason?"}}