mpfau

Results 16 comments of mpfau

Just lost an hour because errors in view methods are currently swallowed by mithril: https://github.com/MithrilJS/mithril.js/blob/bdb04e1772467ee8f7de53c5f3721861c46c425c/mithril.js#L1046 Logging to the console is a must have from my point of view.

Hi there, we still use optional responses for two main purposes: * Provide a trait with all possible error definitions to reduce repitition * Provide a lib with traits for...

Just digged a bit deeper in it. The base functions (System.unload and System.import) are also functional in the worker. Modules are successfully re-imported when manually triggering System.unload and System.imports in...

@alexisvincent full page reload is not possible from a worker anyways. Could be wrapped in a `if (typeof window !== 'undefined')`. I'm currently trying to run the hot-reloader in a...

@alexisvincent thanks! This is working fine and enables an absolutely awesome workflow :) I created a the pull requests https://github.com/alexisvincent/systemjs-hmr/pull/23 and https://github.com/alexisvincent/systemjs-hot-reloader/issues/132 in order to enable systemjs-hmr and systemjs-hot-reloader for...

I am working on a description. Give me a few more minutes... :)

@alexisvincent Do you have an idea on how `import {module} from '@hot'` could work on node? We are currently trying to run our testcases on node. They can't be run...

@alexisvincent found a workaround to stub `@hot` in node ```js const Module = require('module').Module; Module._cache['@hot'] = {exports: {module: undefined}} const resolveFilenameNode = Module._resolveFilename Module._resolveFilename = function(request, parent, isMain) { if...

We recently switched from tape to ospec (https://github.com/lhorie/mithril.js/tree/rewrite/ospec). It has been written by the very smart Leo Horie (author of mithril).