You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the development focus is only on UI code we can avoid restarting the npm start command by using a variety of Grunt tasks.
Assume that:
packages under development are kept in a workspace (e.g. local_adapt_modules)
packages use a common name for their UI plugins (e.g. ui-plugin)
A further assumption is that bundling/transpiling is not required because js sources are used directly in the browser; the only compilation is of less and hbs files.
Setup watch on:
adapt-authoring-ui/app
*/ui-plugin
Note that the npm start command would need to be restarted if:
backend code is modified (i.e. code outside of ui-plugin)
a new package is added for development
Note
Additional work is currently being done to achieve similar goals that will:
not require the use of Grunt
provide the ability to use React to develop UI components
The text was updated successfully, but these errors were encountered:
UPDATE
A new build process has been created to:
Much of this work has been inspired by the Adapt framework.
See https://github.com/adapt-security/adapt-authoring-ui/tree/new-build-process (N.B. this is based off RC2)
Use Grunt to improve UI workflowIf the development focus is only on UI code we can avoid restarting the
npm start
command by using a variety of Grunt tasks.Assume that:
local_adapt_modules
)ui-plugin
)A further assumption is that bundling/transpiling is not required because js sources are used directly in the browser; the only compilation is of less and hbs files.
Setup watch on:
adapt-authoring-ui/app
*/ui-plugin
Note that the
npm start
command would need to be restarted if:NoteAdditional work is currently being done to achieve similar goals that will:
The text was updated successfully, but these errors were encountered: