Open chris-steele opened 1 year ago
N.B. @joe-allen-89 @taylortom I've created this issue to formalise the work and have pushed the code to grunt-demo
@joe-allen-89 @taylortom updated this issue to describe the New Way™
Any and all feedback/help welcome
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:~Note~
Additional work is currently being done to achieve similar goals that will: