Skip to content

Commit

Permalink
Merge pull request #786 from darrrk/master
Browse files Browse the repository at this point in the history
Ability show sources via node-inspector
  • Loading branch information
gkz committed Nov 10, 2015
2 parents 3ef12ac + 95259b6 commit da5191d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/node.ls
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = !(LiveScript) ->
LiveScript <<<< events.EventEmitter.prototype

require.extensions.'.ls' = (module, filename) ->
js = LiveScript.compile (fs.read-file-sync filename, 'utf8'), {filename, +bare}
js = LiveScript.compile (fs.read-file-sync filename, 'utf8'), {filename, +bare, map: "embedded"} .code
try
module._compile js, filename
catch
Expand Down

0 comments on commit da5191d

Please sign in to comment.