update .re-natal file in upgrade function

This commit is contained in:
Artur Girenko 2016-01-05 19:41:32 +01:00
parent 768f191a63
commit f4eaecabb7
1 changed files with 6 additions and 0 deletions

View File

@ -452,6 +452,12 @@ doUpgrade = (config) ->
copyFigwheelBridge(projNameUs)
log 'upgraded figwheel-bridge.js'
if (!config.modules)
config.modules = []
writeConfig(config)
log 'upgraded .re-natal'
useComponent = (name) ->
log "Component '#{name}' is now configured for figwheel, please re-run 'use-figwheel' command to take effect"
try