Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reklatsmasters/grunt-open-server
Tasks for start / stop / restart Open Server
https://github.com/reklatsmasters/grunt-open-server
Last synced: 24 days ago
JSON representation
Tasks for start / stop / restart Open Server
- Host: GitHub
- URL: https://github.com/reklatsmasters/grunt-open-server
- Owner: reklatsmasters
- License: mit
- Created: 2014-08-08T10:23:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T04:56:41.000Z (over 8 years ago)
- Last Synced: 2024-09-27T17:35:09.520Z (about 1 month ago)
- Language: JavaScript
- Homepage: open-server.ru
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# grunt-open-server
> Плагин для старта / остановки / перезапуска [Open Server](http://open-server.ru)
## Getting Started
This plugin requires Grunt `~0.4.5`If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
```shell
npm install grunt-open-server --save-dev
```Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
```js
grunt.loadNpmTasks('grunt-open-server');
```## The "open-server" task
### Overview
In your project's Gruntfile, add a section named `open-server` to the data object passed into `grunt.initConfig()`.```js
grunt.initConfig({
"open-server": {
options: {
path: "path/to/open-server"
}
},
});
```### Tasks
#### start
Task : `open-server:start`Используется для запуска Open Server
#### stop
Task : `open-server:stop`Используется для остановки Open Server
#### restart
Task : `open-server:restart`Используется для перезапуска Open Server
#### status
Task : `open-server:status`Is Open Server running?
### Options
#### options.path
Type: `String`
Default value: `null`Path to Open Server executable file.
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).## Release History
_(Nothing yet)_