Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create build API #2396

Closed
danielstorey opened this issue Mar 25, 2019 · 0 comments
Closed

Create build API #2396

danielstorey opened this issue Mar 25, 2019 · 0 comments

Comments

@danielstorey
Copy link
Member

danielstorey commented Mar 25, 2019

Aim

Improve the overall development experience by enabling hot reloading of views, css injection, responding to changes in included plugins, as well as serving files from source and thus eliminating the need for compilation during development

Tasks

Create tool-agnostic build API

The interface will provide an API to allow other applications to utilise the build tools - currently Grunt.

  • Promise based and should contain methods which include all the current Grunt tasks
  • Output raw files/variables instead of writing to drive
  • Enable development flags in the client side content
danielstorey added a commit that referenced this issue Apr 5, 2019
- Create 'setenv' task so grunt's behaviour can be modified accordingly
- Create 'output' helper to emit event if env === 'dev'
- Refactor all uses of grunt.file.write to use output helper
danielstorey added a commit that referenced this issue Apr 5, 2019
Created dev folder with a view to potentially adding more dev specific
modules here e.g. dev-server, client side dev tools etc
danielstorey added a commit that referenced this issue Apr 5, 2019
danielstorey added a commit that referenced this issue Apr 7, 2019
Helper will stringify if saving to a file and data is not a string
Otherwise data will be transmitted as is via grunt.event
danielstorey added a commit that referenced this issue Apr 9, 2019
@danielstorey danielstorey changed the title proposal: improvements to development experience Create build API Apr 9, 2019
This was referenced Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants