devserver.js 418 B

1234567891011121314151617181920
  1. /**
  2. * Run the devserver.
  3. *
  4. * IMPORTANT: Configuration should match `dist/browserify.js`!
  5. */
  6. const budo = require('budo')
  7. const babelify = require('babelify')
  8. const babelifyConfig = require('./babelify-config.js');
  9. budo(null, {
  10. dir: ['public', '.', 'src'],
  11. live: true,
  12. stream: process.stdout,
  13. port: 9966,
  14. debug: true,
  15. browserify: {
  16. transform: [babelify, babelifyConfig]
  17. },
  18. });