Skip to content

Commit

Permalink
Do not inject reloading to livereactload transient dependencies, hope…
Browse files Browse the repository at this point in the history
…fully fixes #18 and #25
  • Loading branch information
milankinen committed Apr 11, 2015
1 parent 21929d7 commit fcd6929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browserify/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function(file, opts) {
var port = opts.config && opts.config.port ? opts.config.port : defaults.reloadPort,
content = ''

var isLiveReactloadModule = path.resolve(file).indexOf(path.resolve(__dirname, '..')) === 0
var isLiveReactloadModule = path.resolve(file).indexOf(path.resolve(__dirname, '..', '..')) === 0
var isReactModule = file.indexOf(getModulePath('react')) !== -1
var isBrowserifyModule = file.indexOf(getModulePath('browserify')) !== -1

Expand Down

0 comments on commit fcd6929

Please sign in to comment.