Sublime Forum

Workflow: Edit In Local Folder & Push Local Testing Folder For Preview

#1

Is this workflow possible in Sublime? I work mostly with PHP files and dynamic content:

  1. Project folder contains working files

  2. Separate testing folder inside local web root

  3. Push file(s) to testing folder and preview in web browser?

0 Likes

#2

Extremely possible ! This can be done with a build system. I think there are also plugins that do this as well.

I would create a Makefile that has all the functions you would need to clean build serve and stop your php server then create a build system that calls those functions. If you need an example, I’ll post one tomorrow.

0 Likes