-
Notifications
You must be signed in to change notification settings - Fork 61
widget config.json does not grunt #88
Comments
@tyler-austin thank you for posting this issue. Maybe we should solve this by having the grunt task automatically copy |
That would probably be the best approach. I should add that I experienced this when using the generator for 2D apps and widgets. I have yet to try 3D maps and widgets so I don't know if the behavior has has changed for both. |
Any reason why this was dropped from the milestone. Just tried the generator at WAB 2.8 and I am seeing the same thing. |
I think I'm late, but add some lines to the Gruntfile.js file, specifically inside the If you have a better solution please let me know. 👍 |
current WAB dev edition saves a widgets config.json file in:
\server\apps#\configs\WidgetName\config_widgetname.json
so grunt will not update the config.json file in directory:
\server\apps#\widgets\WidgetName
You must copy the config_WidgetName.json then use it to replace the config.json in the widget development folder. then remember to update the app's "main" config.json to point to the correct location of the config_widgetname.json file:
The text was updated successfully, but these errors were encountered: