
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
grunt-connect
Advanced tools
Run a connect server, indefinitely. The built in Grunt server task is terrific for the great majority of cases, however sometimes you just want to ability to run a web server on a local file system and interact with the files using a web browser.
Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-connect
Then add this line to your project's grunt.js
gruntfile:
grunt.loadNpmTasks('grunt-connect');
Content of directories is listed. In case multiple bases, it lists only files from first base with given directory (directory contents are not combined).
Since, these tasks are essentially asynchronous tasks that don't close. It's best to target them directly. For example, given the following configuration:
grunt.initConfig({
connect: {
example: {
port: 1337,
base: 'example'
},
meta: {
port: 1338,
base: 'tasks'
},
combined: {
port: 1339,
combine: [
'example',
'tasks'
]
}
});
One might target the meta server using grunt connect:meta
Copyright (c) 2012 Merrick Christensen Licensed under the MIT license.
FAQs
Run a connect server, indefinitely.
We found that grunt-connect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.