-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty stream windows #2
Comments
Here is my spike const htmlStandards = require('reshape-standard')
const cssStandards = require('spike-css-standards')
const jsStandards = require('spike-js-standards')
const react = require('babel-preset-react')
const env = process.env.SPIKE_ENV
module.exports = {
babel: jsStandards({ appendPresets: [[react]] }),
devtool: 'source-map',
entry: {
'js/main': [ env === 'production' ? './assets/js/index.js' : './assets/js/_dev.js' ]
},
ignore: ['.**/**', '**/layout.html', '**/_*', '**/.*', 'readme.md', 'yarn.lock', 'package-lock.json'],
postcss: cssStandards({
minify: env === 'production',
warnForDuplicates: env !== 'production'
}),
reshape: htmlStandards({
locals: (ctx) => { return { foo: 'bar' } },
minify: env === 'production'
}),
vendor: 'assets/vendor/**'
} the entry file is in and looks like this import meiosisTracer from 'meiosis-tracer'
import initialized from './index'
initialized
.then(Main => {
const models = Main.models
meiosisTracer({
streams: [ models ]
// streams: [{ stream: models, label: 'mysuperstream' }]
})
})
.catch(err => console.log(err)) |
@foxdonut But it looks like autorefresh is breaking the tracer anyway.
|
@smuemd would you mind testing with v 2.0.2? Thanks again, much appreciated! |
v2.0.2 shows the same behaviour |
@smuemd thanks! I will look into it. |
@smuemd I tried with Wright and it was working well. If auto-refresh with spike is causing problems, as you said best thing is to close devtools and re-open. |
As reported by @smuemd, multiple duplicate empty stream windows show up in the tracer when using browser-sync
The text was updated successfully, but these errors were encountered: