Skip to content

Commit

Permalink
Ability show sources via node-inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
darky committed Nov 10, 2015
1 parent 3ef12ac commit 95259b6
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 95259b6

Please sign in to comment.