development.js 275 B

123456789101112
  1. const path = require('path');
  2. const Application = require('thinkjs');
  3. const watcher = require('think-watcher');
  4. const instance = new Application({
  5. ROOT_PATH: __dirname,
  6. APP_PATH: path.join(__dirname, 'src'),
  7. watcher: watcher,
  8. env: 'development'
  9. });
  10. instance.run();