Skip to content

A minimal config for easy compilation to native web technologies.

License

Notifications You must be signed in to change notification settings

thisanimus/mini-devex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini Devex

A miniature dev environment for building websites.

  • browsersync for hot-reload on changes.
  • SASS for... well SASS.
  • Rollup for JS

Installation

Install the project dependencies

$ npm i

Configuration

As-is the config will watch everything in the /src dir. You can customize this in the watch:sync script.

The script serves index.html by default, but if you're using a local dev env with a proxied domain (for instance, a Wordpress dev environment using Local by Flywheel), you can add options for --https, --proxy, and --listen to the watch:sync script to integrate the local server.

"watch:sync": "browser-sync start --https --proxy 'https://YOURDOMAIN.local' --listen 'YOURDOMAIN.local' --files '*/**/.php', 'src/**/**'",

Run

$ npm run start

About

A minimal config for easy compilation to native web technologies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published