Open johnraz opened 9 years ago
Yeah, I just changed an IMG file and it reloaded my whole app. Which is totes dumb.
The config idea is a good one, but it seems like it should be auto-generated with some defaults. Maybe jspm-server
maintains its own config with defaults like:
{
'*.js': { hotReload: false },
'*.html': { hotReload: false },
'*.(png|jpe?g|gif)': { hotReload: () => false }
}
and then merges the one provided by the user?
Sounds sensible. Meta configuration is additive so will compose well in this way.
Follow-up of discussion going in #1, should go here :-)
Quoting @guybedford:
Quoting @geelen: