jspm-watch
jspm-watch copied to clipboard
App crashes if config/package does not contain certain values
Part of my package.json: if some of these don't exist, the watcher complains that the value doesn't exist. I had to read the source code to figure out where this was.
"jspm": {
"configFile": "jspm.config.js", // Required
"directories": {
"baseURL": ".", // Required
"packages": "jspm_packages" // Required
}
}
It was here:
https://github.com/fyodorvi/jspm-watch/blob/master/index.js#L380-L382
Also my config had to have a baseURL, or it failed here:
https://github.com/fyodorvi/jspm-watch/blob/master/index.js#L400