Code Monkey home page Code Monkey logo

monkey-hot-loader's People

Contributors

jlongster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

monkey-hot-loader's Issues

Starting nodemon with --debug-brk doesn't appear to work.

Changing js : 'node' to js: 'node --debug-brk' in

nodemon({
  execMap: {
    js: 'node'
  },
  script: path.join(__dirname, 'build/backend'),
  ignore: ['*'],
  watch: ['nothing/'],
  ext: 'noop'
});

doesn't seem to start the debug capabilites (unable to connect via node-inspector & don't get debugger listening on port 5858 on command line).

Am I missing a step?

Need to specify a license

There is no mention anywhere of the license under which use of this component is granted.
Can you (@jlongster) just specify that?

Thanks for the contribution to the community and we're considering forking and enhancing this component but we would like to be sure about your terms of use :)

How to resolve - Error: [HMR] Hot Module Replacement is disabled

I'm trying to follow the instruction here

webpack.config.server.dev.babel.js
'''
entry: [
'webpack/hot/signal.js',
SERVER_ENTRY_POINT
],

// ...

plugins: [
new webpack.HotModuleReplacementPlugin()
]
'''

And I run this command

webpack --config webpack.config.server.dev.babel.js --watch

And seems like it is working


However, when I run this command

nodemon my-build/index.js -- watch

I got the following error ...

/node_modules/webpack/hot/signal.js:64
        throw new Error("[HMR] Hot Module Replacement is disabled.");
        ^
Error: [HMR] Hot Module Replacement is disabled.

Error: [HMR] Hot Module Replacement is disabled.
    at Object.<anonymous> (/Users/iroy2000/development/test/node_modules/webpack/hot/signal.js:64:8)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)

How can I resolve that issue? Thanks for any help.

Is this project active?

I was playing around with webpack and hot module replacement this weekend, I saw that it's currently not possible to patch methods on existing objects (see milankinen/livereactload#50), and I was wondering if supporting method patching is something that's within the scope of monkey-hot-loader.

I see 3 steps towards getting most of this working, and perhaps monkey-hot-loader represents step one.

The steps I think are:

  1. Support replacing functions
  2. Support replacing methods
  3. Support replacing classes (adding and removing instance variables, this is similar to Smalltalks' #become: and similar things in CLOS)

Uncaught RangeError: Maximum call stack size exceeded

Hi,

First of all, thank you for the cool loader, nice job.

I've just tried to test it in a browser environment and got the following stackoverflow/recursion error:

Uncaught RangeError: Maximum call stack size exceeded
webpackHotUpdateCallback @ bundle.js:5
webpackHotUpdateCallback @ bundle.js:6
webpackHotUpdateCallback @ bundle.js:6
webpackHotUpdateCallback @ bundle.js:6
webpackHotUpdateCallback @ bundle.js:6
webpackHotUpdateCallback @ bundle.js:6
...

Doesn't look like it interrupts the hot module replacement, but happens every HMR iteration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.