ktmud opened a new pull request #11648:
URL: https://github.com/apache/incubator-superset/pull/11648


   ### SUMMARY
   
   Cleanup/override static assets only when running `npm run build` or `npm run 
dev`, not when in `npm run dev-server`. This allows developers to compare the 
current version of Superset with what they are working on without switching 
back and forth between branches.
   
   A typical workflow would be:
   
   First, run production build and start the Flask server:
   
   ```
   npm run build
   superset run -p 8088
   ```
   
   Then start the dev server in another window:
   
   ```
   npm run dev-server
   ```
   
   Now you can visit `http://localhost:8088` for the production version, and 
`http://localhost:9000` for the dev version. Any local changes you made 
wouldn't affect the production version, meaning you will always have a 
production version to refer to when you are actively developing something.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   N/A
   
   ### TEST PLAN
   
   Manual. Follow the workflow above and make sure both debug servers work.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to