Skip to content
Permalink
Browse files

Don't cache source map in dev

  • Loading branch information
koenbok committed Apr 20, 2015
1 parent e65ea33 commit 4e182d707a9de8a2323470b872c6da1d81e1d172
Showing with 12 additions and 3 deletions.
  1. +12 −3 gulpfile.coffee
@@ -34,7 +34,10 @@ gulp.task "build:debug", ->

config = _.extend CONFIG,
entry: "./framer/Framer.coffee"
output: {filename: "framer.debug.js", pathinfo:true}
output:
filename: "framer.debug.js"
pathinfo: true
sourceMapFilename: "[file].map?nocache=#{Date.now()}"
debug: true

return gulp.src(config.entry)
@@ -63,7 +66,10 @@ gulp.task "watcher", ->

config = _.extend CONFIG,
entry: "./framer/Framer.coffee"
output: {filename: "framer.debug.js", pathinfo:true}
output:
filename: "framer.debug.js"
pathinfo: true
sourceMapFilename: "[file].map?nocache=#{Date.now()}"
debug: true
watch: true

@@ -75,7 +81,10 @@ gulp.task "build:coverage", ->

config = _.extend CONFIG,
entry: "./build/instrumented/Framer.js"
output: { filename: "framer.debug.js", pathinfo:true }
output:
filename: "framer.debug.js"
pathinfo: true
sourceMapFilename: "[file].map?nocache=#{Date.now()}"
debug: true

return gulp.src(config.entry)

0 comments on commit 4e182d7

Please sign in to comment.
You can’t perform that action at this time.