Skip to content

Commit

Permalink
Re-add lines to serve source map support to karma server config
Browse files Browse the repository at this point in the history
  • Loading branch information
jauco committed Jul 25, 2014
1 parent 301ed72 commit 9f8d602
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/karmaServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ function KarmaServer(karmaPath, options) {
basePath: karmaPath,
frameworks: ["jasmine"].concat(options.frameworks || []),
files: [
"*.js"
{pattern: require.resolve("source-map-support/browser-source-map-support"), watched: false, included: true},
{pattern: require.resolve("./loadSourcemapsupport"), watched: false, included: true},
{pattern: '*.js.map', watched: false, included: false, served: true},
"*.js"
],
proxies: options.proxies || {},
preprocessors: options.preprocessors || {},
Expand Down

0 comments on commit 9f8d602

Please sign in to comment.