npm install
You also need to install global dependencies: gulp-cli, typescript, webpack
npm run build
Start http server:
npm run start
Start https server(also runs the http, which redirects to the https):
npm run start-https
You must additionally install global dependencies: ts-node-dev, live-reload.
You can build a project in developer mode using the command
gulp dev
You can also enable change tracking in all projects.
gulp watch
Or choose a separate
gulp mainDevWatch
gulp experimentalDevWatch
Full capabilities can be viewed using the command
gulp --tasks
To start automatic page refresh, you must run the command and, when starting the server, pass in the options "dev"
npm run livereload
⚠️ live reload does not work when https support is enabled. Run live reload only on your local computer without https
In order to start the server and automatically restart it when changed, you need to enter this command
npm run dev
You can also enable change tracking with https
npm run dev-https