Open peteruithoven opened 9 years ago
Is there anything I can do to debug this?
Same here.
I'm using JSPM: 0.16.12
I'm using JSPM-server: 0.1.8
Same issue here.
jspm: 0.16.13
jspm-loader-jsx: 0.0.7
jspm-server: 0.1.8
Same here.
jspm: 0.16.14
jspm-loader-jsx: 0.0.7
jspm-server: 1.0.1
As I was seeing stuff like:
💥 Change to http://127.0.0.1:8080/app/app.jsx.js cannot be handled gracefully:
👉 Change occurred to a file outside SystemJS loading
I thought it might have been to do with the "app.jsx.js" (.js
on the end which doesn't exist). But changing the filename doesn't do anything.
On further investigation, I found that changing the export of this plugin to:
export function translate( load ) {
// ...
}
... kicks off the plugin correctly. However, now the update doesn't actually do anything. Could that be because the react-hot-api is deprecated?
@johngeorgewright I'm switching to https://github.com/capaj/jspm-hot-reloader, very very basic example: https://github.com/peteruithoven/jspm-hot-reloader-example
I've also switched to https://github.com/capaj/jspm-hot-reloader as @peteruithoven suggested. I also found it reloads CSS, etc too!
I can't figure out how to get hot reloading working.
I've added a empty
blacklist
array tobabelOptions
inconfig.js
.I've installed this plugin. From
config.js
:I'm using JSPM:
0.16.0-beta.3
I'm using JSPM-server:0.1.8
My index.html uses System.import to load the first module:
app.js
component.jsx
JSPM-server always responds to changes with: